Skip to content

alihossein/time

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

package's home : alihossein/time

This package belong to Course "How to create a Laravel 5.3 package"


Installation:

Run below statements on your terminal :

STEP 1 :

composer require "alihossein/time":"dev-master"

STEP 2 : Add provider and facade in config/app.php

'providers' => [
  ...
  \Alihossein\Time\TimeServiceProvider::class, // <-- add this line at the end of provider array
],


'aliases' => [
  ...
  'MyTimerFacade'=>\Alihossein\Time\Facade\TimerFacade::class, // <-- add this line at the end of aliases array
]

Step 3:

php artisan vendor:publish

Step 4:

php artisan migrate

Configuration file is placed in config/MyConfig.php , open it and enter your Timezone:

About

this is my test package

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published