2017 © Pedro Peláez
 

library laravel-quotes

A Laravel 5 Package for providing all kinds of quotes, from business to success to life to inspiring to DJKHALED Quotes

image

unicodeveloper/laravel-quotes

A Laravel 5 Package for providing all kinds of quotes, from business to success to life to inspiring to DJKHALED Quotes

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 7 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

laravel-quotes

laravel-quotes Latest Stable Version License Build Status Coverage Status Quality Score Total Downloads, (*1)

A Laravel 5 Package for providing all kinds of quotes, from PROGRAMMING to DESIGN to DJKHALED Quotes, (*2)

Installation

PHP 5.4+ or HHVM 3.3+, and Composer are required., (*3)

To get the latest version of Laravel Quotes, simply add the following line to the require block of your composer.json file., (*4)

"unicodeveloper/laravel-quotes": "1.0.*"

You'll then need to run composer install or composer update to download it and have the autoloader updated., (*5)

Once Laravel Quotes is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key., (*6)

  • Unicodeveloper\Quotes\QuotesServiceProvider::class

Also, register the Facade like so:, (*7)

'aliases' => [
    ...
    'Quotes' => Unicodeveloper\Quotes\Facades\Quotes::class,
    ...
]

Register the Artisan commands by adding this to the $commands array in App/Console/Kernel.php, (*8)

    **
     * The Artisan commands provided by your application.
     *
     * @var array
     */
    protected $commands = [
        \Unicodeveloper\Quotes\Commands\Design::class,
        \Unicodeveloper\Quotes\Commands\Djkhaled::class,
        \Unicodeveloper\Quotes\Commands\Programming::class,
    ];

Configuration

To get started, you'll need to publish all vendor assets:, (*9)

$ php artisan vendor:publish --provider="Unicodeveloper\Quotes\QuotesServiceProvider"

Usage

Get to Use Facades like so:, (*10)


/** * Gets a key to success from DjKhaled * @returns a string */ Quotes::djkhaled()->anotherOne(); /** * Gets all the Keys To Success #BlessUp * @returns an array */ Quotes::djkhaled()->all() ** * Gets a programming quote * @returns a string */ Quotes::programming()->random(); /** * Gets all programming quotes * @returns an array */ Quotes::programming()->all(); ** * Gets a design quote * @returns a string */ Quotes::design()->random(); /** * Gets all design quotes * @returns an array */ Quotes::design()->all();

Get to use Artisan Commands like so:, (*11)

php artisan djkhaled:inspire

djkhaled:inspire, (*12)

php artisan design:inspire

design:inspire, (*13)

php artisan programming:inspire

programming:inspire, (*14)

Contributing

Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities., (*15)

You can greatly contribute by adding more quotes to Quotes/programming.php and Quotes/design.php. The format are in the files., (*16)

Also, add more DJ KHALED Keys to success that I have omitted or left-out. #BlessUp, (*17)

Remember: Major :key: To Success is to Contribute to Open Source

How can I thank you?

Why not star the github repo? I'd love the attention! Why not share the link for this repository on Twitter or HackerNews? Spread the word!, (*18)

Don't forget to follow me on twitter!, (*19)

Thanks! Prosper Otemuyiwa., (*20)

License

The MIT License (MIT). Please see License File for more information., (*21)

The Versions

13/03 2016

dev-master

9999999-dev

A Laravel 5 Package for providing all kinds of quotes, from business to success to life to inspiring to DJKHALED Quotes

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php github success business open source quotes djkhaled inspiring laravel-quotes

31/01 2016

1.0.1

1.0.1.0

A Laravel 5 Package for providing all kinds of quotes, from business to success to life to inspiring to DJKHALED Quotes

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php github success business open source quotes djkhaled inspiring laravel-quotes

31/01 2016

1.0.0

1.0.0.0

A Laravel 5 Package for providing all kinds of quotes, from business to success to life to inspiring to DJKHALED Quotes

  Sources   Download

MIT

The Requires

 

The Development Requires

laravel php github success business open source quotes djkhaled inspiring laravel-quotes