PHP code example of meisam-mulla / laravel-openfda
1. Go to this page and download the library: Download meisam-mulla/laravel-openfda 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/ */
meisam-mulla / laravel-openfda example snippets
$response = OpenFDA::search('tylenol')->get();
// Process the response
use MeisamMulla\OpenFDA\OpenFDA;
$openFDA = new OpenFDA();
$response = $openFDA->search('tylenol')->get();
// Process the response