The Pitch
Okay, so it's nice as-is, but wouldn't it be better to just fire of a command?
Implementation
Find a secure, easy way, to run
php artisan inspire
What Will Happen
This command is built-in by default, and will pick randomly from a gigantic list of inspiring quotes. You might see one, then not see it again for 100 years! That's how big the list is.
Requirements
None! Laravel comes with the command built-in by default.
Implementation Code ( optional )
use Illuminate\Foundation\Inspiring;
$quote = Inspiring::quote();
echo $quote;
1 year ago
10 months ago