PHP code example of medicalmundi / npi-registry-php-sdk

1. Go to this page and download the library: Download medicalmundi/npi-registry-php-sdk 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/ */

    

medicalmundi / npi-registry-php-sdk example snippets


use MedicalMundi\NpiRegistry\SDK\NpiRegistry;

$npiRegistry = NpiRegistry::connect();

use MedicalMundi\NpiRegistry\SDK\NpiRegistry;

$npiRegistry = NpiRegistry::connect();
$npiRegistry->search
            ->where('version', '2.1') // api version is mandatory
            ->where('city', 'atlanta')
            ->fetch();
bash
$ composer