kennethllamasares / laravel-timezones by webdev.kenneth

Timezone bundle for Laravel.
868
4
2
Package Data
Maintainer Username: webdev.kenneth
Maintainer Contact: webdev.kenneth@gmail.com (Kenneth Llamasares)
Package Create Date: 2017-03-22
Package Last Update: 2018-09-18
Language: PHP
License: MIT
Last Refreshed: 2024-04-25 15:04:09
Package Statistics
Total Downloads: 868
Monthly Downloads: 2
Daily Downloads: 1
Total Stars: 4
Total Watchers: 2
Total Forks: 7
Total Open Issues: 0

Laravel Timezones

Timezone bundle for Laravel.

Installation

Require this package, with Composer, in the root directory of your project.

$ composer require kennethllamasares/laravel-timezones

And then include the service provider within app/config/app.php.

KennethLlamasares\Timezones\TimezonesServiceProvider::class

To get started, you'll need to publish the vendor assets and migrate the timezones table:

php artisan vendor:publish --provider="KennethLlamasares\Timezones\TimezonesServiceProvider" && php artisan migrate

Now you can seed the timezones into the database like this.

php artisan timezones:seed