PHP code example of titugeorge / pubmed

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

    

titugeorge / pubmed example snippets

javascript

// Multiple id(s) can be passed to the api wrapper
$id = array('28030999', '28023346');

print_r( PubMed::getPubMedArticleByIds($id) );