library companies-house
A client for the companies house API
philwc/companies-house
A client for the companies house API
- Tuesday, April 11, 2017
- by philwc
- Repository
- 1 Watchers
- 0 Stars
- 7 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 3 Versions
- 0 % Grown
Companies House PHP API Client
API Documentation: https://developer.companieshouse.gov.uk/api/docs/index.html, (*1)
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...
}
dev-master
9999999-dev
A client for the companies house API
Sources
Download
The Requires
The Development Requires
by
Phil Wright- Christie
dev-develop
dev-develop
A client for the companies house API
Sources
Download
The Requires
The Development Requires
by
Phil Wright- Christie
0.0.1
0.0.1.0
A client for the companies house API
Sources
Download
The Requires
The Development Requires
by
Phil Wright- Christie