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:Jan 8, 2017
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

spatie/laravel-google-fonts

Manage self-hosted Google Fonts in Laravel apps

1,381,341 493
tightenco/jigsaw

Simple static sites with Laravel's Blade.

470,641 2,251
roquie/laravel-dusk-select2

Select2.js support for the Laravel Dusk testing.

369,533 41
haruncpi/laravel-log-reader

A simple and beautiful laravel log reader

359,584 380
laravel-frontend-presets/argon

Laravel 9.x Front-end preset for argon

260,678 233