ci-on/laravel-inspirational-quotes
publicClone
Push over the same URL. A password will not work: create a token under access tokens and use it in place of one.
php artisan inspire on steroids
- src
- tests
- .editorconfig 312 B
- .gitattributes 395 B
- .gitignore 102 B
- .scrutinizer.yml 507 B
- .styleci.yml 16 B
- .travis.yml 441 B
- CHANGELOG.md 141 B
- composer.json 1.4 KB
- CONTRIBUTING.md 2.9 KB
- LICENSE.md 1.0 KB
- phpunit.xml.dist 935 B
- README.md 2.0 KB
Laravel Inspirational Quotes
This package will generate an inspirational quote for you. Similar to Laravel's default php artisan inspire, it includes the same quotes plus more. Easily access the author name and author head shot as well.
Installation
You can install the package via composer:
composer require cion/laravel-inspirational-quotesThe service provider and alias will automatically get registered.
Usage
php artisan inspire$quote = InspirationalQuote::getRandomQuote();
// $quote output
[
'quote' => 'Simplicity is the ultimate sophistication.',
'by' => 'Leonardo da Vinci',
'avatar' => 'https://i.imgur.com/fk7VpK6.png',
]Testing
composer testChangelog
Please see CHANGELOG for more information what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security
If you discover any security related issues, please email chris@cion.agency instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.