kennethllamasares / laravel-timezones by webdev.kenneth

Timezone bundle for Laravel.
869
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-11-22 03:06:20
Package Statistics
Total Downloads: 869
Monthly Downloads: 1
Daily Downloads: 0
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