| Package Data | |
|---|---|
| Maintainer Username: | jeremykenedy |
| Maintainer Contact: | jeremykenedy@gmail.com (jeremykenedy) |
| Package Create Date: | 2017-01-07 |
| Package Last Update: | 2017-01-08 |
| Home Page: | |
| Language: | HTML |
| License: | MIT |
| Last Refreshed: | 2025-10-30 03:06:24 |
| Package Statistics | |
|---|---|
| Total Downloads: | 21 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 2 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
This is a base example of a laravel package. The focus is on the framework of the package and the essential elements and not so much what it actually does. It returns the time and date in a Laravel application when going to the the URL /timezones/{TIMEZONE} from the projects base url.
From your projects root folder in terminal run:
composer require jeremykenedy/timeszones
Register the package with laravel in config/app.php under the Application Service Providers section with the following:
jeremykenedy\Timezones\TimezonesServiceProvider::class,
(Optional) Publish the packages assets/views to be customized by running the following from your projects root folder:
php artisan publish
http://your-projects-url/timezones/{{TIMEZONE}}
http://lara-timezone.local/timezones/PST
http://lara-timezone.local/timezones/MST
http://lara-timezone.local/timezones/CST
http://lara-timezone.local/timezones/EST
http://lara-timezone.local/timezones/UTC
Timezones - A Laravel package is open-sourced software licensed under the MIT license