承接 adesigns/nppes-api 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

adesigns/nppes-api

最新稳定版本:v1.0.6

Composer 安装命令:

composer require adesigns/nppes-api

包简介

PHP Library to interact with the NPPES NPI Registry API

README 文档

README

This API allows you to easily look up providers using the NPI Registry API (https://npiregistry.cms.hhs.gov/registry/help-api).

Installation

via composer:

composer require adesigns/nppes-api

Basic Usage

1. Search for providers by any number of parameters. Will return an ApiResponse object with all providers.

To search the registry by a non-unique parameter (IE number), pass an array of parameters to the search() method. Available parameters can be seen in the NPPES Demo @ https://npiregistry.cms.hhs.gov/api/demo

$client = new NPPESApi();

$results = $client->search(array('last_name' => "Smith"));

var_dump($results);

1. Search for a single provider by NPI Number. Will return a single Provider object.

$client = new NPPESApi();

/** @var Provider **/
$provider = $client->searchByNumber(1234567890);

var_dump($provider);

统计信息

  • 总下载量: 4.63k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 8
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 4
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2017-11-26