kennethllamasares/laravel-timezones

Timezone bundle for Laravel.

1.0.1 2018-05-13 15:33 UTC

This package is auto-updated.

Last update: 2024-04-18 16:48:29 UTC


README

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