bss-taiphung/bss_puppy

There is no license information available for the latest version (1.0.5) of this package.

Puppy bark

1.0.5 2015-12-10 13:33 UTC

This package is not auto-updated.

Last update: 2024-09-28 19:36:36 UTC


README

#Puppy package for laravel 5

Quick start

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,

),

Usage in detail

###Facade
Puppy::bark() => puppy is barking!
Puppy::run() => puppy is running!

###API 
GET /randomQuote  => Smile, breathe, and go slowly. - Thich Nhat Hanh