kennethllamasares/laravel-timezones

Timezone bundle for Laravel.
876 4
Install
composer require kennethllamasares/laravel-timezones
Latest Version:1.0.1
License:MIT
Last Updated:Sep 18, 2018
Links: GitHub  ·  Packagist
Maintainer: webdev.kenneth

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