this is my test package
15
2
2
Package Data
Maintainer Username: alihossein
Maintainer Contact: ali.shahabi68@gmail.com (alihossein)
Package Create Date: 2016-11-30
Package Last Update: 2016-11-30
Language: PHP
License: MIT
Last Refreshed: 2024-12-24 03:02:23
Package Statistics
Total Downloads: 15
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 2
Total Watchers: 2
Total Forks: 2
Total Open Issues: 0

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: