Skip to content

nasterblue/bss_puppy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages