philwc/companies-house
Composer 安装命令:
composer require philwc/companies-house
包简介
A client for the companies house API
README 文档
README
API Documentation: https://developer.companieshouse.gov.uk/api/docs/index.html
Example
require_once __DIR__ . '/vendor/autoload.php'; $apiKey = 'API KEY HERE'; /** @var \philwc\Call\Search\Name $nameSearch */ $nameSearch = \philwc\CompaniesHouseFactory::get('Search', 'Name', $apiKey); /** @var \philwc\Call\Search\Number $numberSearch */ $numberSearch = \philwc\CompaniesHouseFactory::get('Search', 'Number', $apiKey); $results = $nameSearch->search('cast uk'); /** @var \philwc\Entity\CompanySearch $result */ foreach ($results as $result) { /** @var \philwc\Entity\CompanyProfile $company */ $company = $numberSearch->search($result->getCompanyNumber()); // Do something with company... }
统计信息
- 总下载量: 21
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2017-04-11