cion / laravel-inspirational-quotes
php artisan inspire on steroids.
1.0
2019-06-12 01:10 UTC
Requires
- php: ^7.1
- illuminate/support: 5.8.*
Requires (Dev)
- orchestra/testbench: 3.8.*
- phpunit/phpunit: ^7.0
This package is auto-updated.
Last update: 2024-11-12 13:32:11 UTC
README
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-quotes
The 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 test
Changelog
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.