PHP code example of froget / dev-quotes

1. Go to this page and download the library: Download froget/dev-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/ */

    

froget / dev-quotes example snippets


 e DevQuotes\QuotesStore;
 
 // Test Dev Quote
 $quote = QuotesStore::getInstance()->randomQuote();
 echo $quote->toString();