#Puppy package for laravel 5
In the require
key of composer.json
file add the following
"bss-taiphung/bss_puppy": "1.0.*"
Run the Composer update command
$ composer update
In your config/app.php
add 'bss_taiphung\puppy\ServiceProviders\PuppyServiceProvider::class'
to the end of the providers
array
'providers' => array(
...
'bss_taiphung\puppy\ServiceProviders\PuppyServiceProvider::class',
),
At the end of config/app.php
add 'Puppy' => bss_taiphung\puppy\Facades\PuppyFacade::class
to the aliases
array
'aliases' => array(
...
'Puppy' => bss_taiphung\puppy\Facades\PuppyFacade::class,
),
###Facade
Puppy::bark() => puppy is barking!
Puppy::run() => puppy is running!
###API
GET /randomQuote => Smile, breathe, and go slowly. - Thich Nhat Hanh