PHPackages                             unicodeveloper/laravel-quotes - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. unicodeveloper/laravel-quotes

ActiveLibrary

unicodeveloper/laravel-quotes
=============================

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

1.0.1(10y ago)40228[1 issues](https://github.com/unicodeveloper/laravel-quotes/issues)MITPHPPHP &gt;=5.5.9

Since Jan 31Pushed 10y ago2 watchersCompare

[ Source](https://github.com/unicodeveloper/laravel-quotes)[ Packagist](https://packagist.org/packages/unicodeveloper/laravel-quotes)[ RSS](/packages/unicodeveloper-laravel-quotes/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (3)Used By (0)

laravel-quotes
==============

[](#laravel-quotes)

[![laravel-quotes](https://cloud.githubusercontent.com/assets/2946769/12701609/637a89c6-c80e-11e5-9b57-f764b1742155.png)](https://cloud.githubusercontent.com/assets/2946769/12701609/637a89c6-c80e-11e5-9b57-f764b1742155.png)[![Latest Stable Version](https://camo.githubusercontent.com/dae5f1edffb2f0bb277143b1083550a00f12a391b4f2b7a93b84865735ca83d9/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6c61726176656c2d71756f7465732f762f737461626c652e737667)](https://packagist.org/packages/unicodeveloper/laravel-quotes)[![](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)](https://camo.githubusercontent.com/984f6792e3d81e34b782c12770dfd5e6153ea75f5e71d8e668933b988ba1a81f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f756e69636f646576656c6f7065722d617070726f7665642d627269676874677265656e2e737667)[![License](https://camo.githubusercontent.com/e5b6c0ebf824397a82161391568bc08d484e9a60e7561ce01f4cc26e1318c245/68747470733a2f2f706f7365722e707567782e6f72672f756e69636f646576656c6f7065722f6c61726176656c2d71756f7465732f6c6963656e73652e737667)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/2a415530ea7deaf5a24e04549979fb73336fa0bad439091b60b5e091754a1f2f/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f756e69636f646576656c6f7065722f6c61726176656c2d71756f7465732e737667)](https://travis-ci.org/unicodeveloper/laravel-quotes)[![Coverage Status](https://camo.githubusercontent.com/36f4e2a2652328d5033d9380a4c5659ca623756c12772772d2a8f5ae0031d8d7/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f756e69636f646576656c6f7065722f6c61726176656c2d71756f7465732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/unicodeveloper/laravel-quotes?branch=master)[![Quality Score](https://camo.githubusercontent.com/201673cdf8bb8fc9fec3f0b19913ac2d89785478e92cfb1e5ac9aa540b22059b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f756e69636f646576656c6f7065722f6c61726176656c2d71756f7465732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/unicodeveloper/laravel-quotes)[![Total Downloads](https://camo.githubusercontent.com/0bd80b77a2f3a4885fa051cabeb1a1cb8bc7eee6237c97822ce0de78a8a5be73/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f756e69636f646576656c6f7065722f6c61726176656c2d71756f7465732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/unicodeveloper/laravel-quotes)

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

Installation
------------

[](#installation)

[PHP](https://php.net) 5.4+ or [HHVM](http://hhvm.com) 3.3+, and [Composer](https://getcomposer.org) 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 = [
        \Unicodeveloper\Quotes\Commands\Design::class,
        \Unicodeveloper\Quotes\Commands\Djkhaled::class,
        \Unicodeveloper\Quotes\Commands\Programming::class,
    ];
```

Configuration
-------------

[](#configuration)

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

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

Usage
-----

[](#usage)

Get to Use Facades like so:

```
/**
 * 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:

```
php artisan djkhaled:inspire
```

[![djkhaled:inspire](https://cloud.githubusercontent.com/assets/2946769/12701591/e83bf97a-c80d-11e5-8d6a-06e8ec35875d.png)](https://cloud.githubusercontent.com/assets/2946769/12701591/e83bf97a-c80d-11e5-8d6a-06e8ec35875d.png)

```
php artisan design:inspire
```

[![design:inspire](https://cloud.githubusercontent.com/assets/2946769/12701590/d7813a5a-c80d-11e5-84d4-d7ab90d07371.png)](https://cloud.githubusercontent.com/assets/2946769/12701590/d7813a5a-c80d-11e5-84d4-d7ab90d07371.png)

```
php artisan programming:inspire
```

[![programming:inspire](https://cloud.githubusercontent.com/assets/2946769/12701589/c52f03c8-c80d-11e5-91b8-23c33c9d4bb6.png)](https://cloud.githubusercontent.com/assets/2946769/12701589/c52f03c8-c80d-11e5-91b8-23c33c9d4bb6.png)

Contributing
------------

[](#contributing)

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

[](#remember-major-key-to-success-is-to-contribute-to-open-source)

How can I thank you?
--------------------

[](#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](https://twitter.com/unicodeveloper)!

Thanks! Prosper Otemuyiwa.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 96.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

3752d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae318eb1f5f21579ddee07834130c1169ae6a0771044c3de671dfb02cd79c59f?d=identicon)[unicodeveloper](/maintainers/unicodeveloper)

---

Top Contributors

[![unicodeveloper](https://avatars.githubusercontent.com/u/2946769?v=4)](https://github.com/unicodeveloper "unicodeveloper (25 commits)")[![kohenkatz](https://avatars.githubusercontent.com/u/88755?v=4)](https://github.com/kohenkatz "kohenkatz (1 commits)")

---

Tags

phplaravelbusinessgithubquotesopen-sourcesuccessinspiringdjkhaledlaravel-quotes

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/unicodeveloper-laravel-quotes/health.svg)

```
[![Health](https://phpackages.com/badges/unicodeveloper-laravel-quotes/health.svg)](https://phpackages.com/packages/unicodeveloper-laravel-quotes)
```

###  Alternatives

[unicodeveloper/laravel-paystack

A Laravel Package for Paystack

650975.6k11](/packages/unicodeveloper-laravel-paystack)[ibonly/laravel-accountkit

Two factor authentication using facebook account kit

2816.4k](/packages/ibonly-laravel-accountkit)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
