PHP code example of abhiteshd / programming-quotes
1. Go to this page and download the library: Download abhiteshd/programming-quotes library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
abhiteshd / programming-quotes example snippets
php
$programmingQuotes = new ProgrammingQuotes($client);
$randomQuote = $programmingQuotes->getRandomQuote();
php
-- Laravel usage
$randomQuote = RandomQuotes::getRandomQuote();
// artisan command
php artisan random-quotes
// the view/config can be overriden after you have published them via
php artisan vendor:publish