Laravel best quotes package.
PHP: ^7.3 or ^8.0
Laravel Framework
composer require codetyme/inspire:"^1.0"
Now, open the config/app.php
file and scroll down to the providers
array. In that array, there should be a section for the package service providers.
Add the following line of code in that section:
/* * Package Service Providers... */ Codetyme\Inspire\Providers\InspirationProvider::class,
In your controller
public static function Quotes(\Codetyme\Inspire\Inspire $inspire){ return $inspire->justQuote(); }
The MIT License (MIT). Please see License File for more information.