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

1.0.1 2016-01-31 16:48 UTC

This package is auto-updated.

Last update: 2023-05-07 14:31:18 UTC


laravel-quotes Latest Stable Version License Build Status Coverage Status Quality Score Total Downloads

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


PHP 5.4+ or HHVM 3.3+, and Composer are required.

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

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

You'll then need to run composer install or composer update to download it and have the autoloader updated.

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.

  • Unicodeveloper\Quotes\QuotesServiceProvider::class

Also, register the Facade like so:

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

Register the Artisan commands by adding this to the $commands array in App/Console/Kernel.php

     * The Artisan commands provided by your application.
     * @var array
    protected $commands = [


To get started, you'll need to publish all vendor assets:

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


Get to Use Facades like so:

 * Gets a key to success from DjKhaled
 * @returns a string

 * Gets all the Keys To Success #BlessUp
 * @returns an array

 * Gets a programming quote
 * @returns a string

 * Gets all programming quotes
 * @returns an array

 * Gets a design quote
 * @returns a string

 * Gets all design quotes
 * @returns an array

Get to use Artisan Commands like so:

php artisan djkhaled:inspire


php artisan design:inspire


php artisan programming:inspire



Please feel free to fork this package and contribute by submitting a pull request to enhance the functionalities.

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

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

Remember: Major 🔑 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!

Don't forget to follow me on twitter!

Thanks! Prosper Otemuyiwa.


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