New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

jeremykenedy/timezones

Laravel package example that returns timezones
21 2
Install
composer require jeremykenedy/timezones
Latest Version:v0.0.7
PHP:>=5.6.4
License:MIT
Last Updated:Oct 8, 2026
Links: GitHub  ·  Packagist
Maintainer: jeremykenedy

Timezones | A Laravel package - v0.0.7

Total Downloads Latest Stable Version License

Introduction

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.

Installation

  1. From your projects root folder in terminal run:

       composer require jeremykenedy/timeszones
    
  2. Register the package with laravel in config/app.php under the Application Service Providers section with the following:

       jeremykenedy\Timezones\TimezonesServiceProvider::class,
    
  3. (Optional) Publish the packages assets/views to be customized by running the following from your projects root folder:

       php artisan publish
    

Usage

   http://your-projects-url/timezones/{{TIMEZONE}}
Usage Examples:
   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

License

Timezones - A Laravel package is open-sourced software licensed under the MIT license

Related Packages

livewire/flux

The official UI component library for Livewire.

14,130,725 980
infyomlabs/adminlte-templates

AdminLTE templates for InfyOm Laravel Generator

1,658,620 266
garygreen/pretty-routes

Pretty routes for Laravel 5+

1,428,920 650
infyomlabs/swagger-generator

Swagger Generator for InfyOm Laravel Generator

1,129,841 114
snowfire/beautymail

Send beautiful html emails with Laravel

783,344 1,314

Version History

Version Released PHP License
v0.0.7 >=5.6.4 MIT
v0.0.6 >=5.6.4 MIT
v0.0.5 >=5.6.4 MIT
v0.0.4 >=5.6.4 MIT
v0.0.3 >=5.6.4 MIT