New

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

alihossein/time

this is my test package
15 2
Install
composer require alihossein/time:dev-master
License:MIT
Last Updated:Nov 30, 2016
Links: GitHub  ·  Packagist
Maintainer: alihossein

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:

Related Packages

jai/createpackage

artisan command to create laravel package .

17 4
laragear/meta

A Laravel Package helper for Laravel Packages

1,316,350 7
cleaniquecoders/laravel-helper

Built with Laravel Standalone Package Creator

10,395 4
onramplab/laravel-custom-fields

An laravel package that enables custom field support for any Laravel models

4,186 10