Skip to content

CakePHP plugin for interacting with the NPPES NPI Registry API.

License

Notifications You must be signed in to change notification settings

kyleweishaupt/cakephp-npi-registry

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

NPI Registry Plugin

CakePHP plugin for interacting with the NPPES NPI Registry API.

Intro

This is intended to be a few simple tools to make it easier to query and validate individual providers and organizations on the registry.

The package is mainly a wrapper for converting requests and responses from the API into PHP classes.

The API client is based on version 2.1 as it is the only supported/recommended version at the time of creation.

Disclaimer

This package is NOT affiliated with CMS and/or the U.S. government in any way, shape or form. This is simply a PHP abstraction to a public and free API provided by CMS.

There is no warranty whatsoever and using this package is entirely at your own risk. Any nefarious or malicious use is strictly forbidden.

Install

Using Composer to install:

composer require kyleweishaupt/cakephp-npi-registry

Then update src/Application.php:

public function bootstrap()
{
    $this->addPlugin('NPIRegistry');
}

Usage

To Do: Improve this.

use NPIRegistry\NPIRegistryService;

NPIRegistryService::individuals()->searchByName(string $name);
NPIRegistryService::organizations()->searchByName(string $name);

Contributing

This may or may not be maintained in the future.

If you need this functionality for a production environment, I highly recommend forking the repository.

License

Copyright (c) 2023-present, Licensed under The MIT License.

About

CakePHP plugin for interacting with the NPPES NPI Registry API.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages