PHP package to communicate with the business register of the Dutch Chamber of Commerce.
At the moment it is only possible to search by company name. The result will contain the following data:
- KvK number
- Establishment number
- Tradename
- Address(es) (type, full address, street, housenumber, zip, city and country)
- Website(s)
You can install the package via composer:
composer require vormkracht10/kvk-api
See the upgrade guide for more information on what has changed recently.
Note: if you don't have an API key yet, get yours at the developer portal of the Chamber of Commerce
use Vormkracht10\KvkApi\ClientFactory;
$apiKey = '<KVK_API_KEY>';
// Optional SSL certificate
$rootCertificate = '<PATH_TO_SSL_CERT>';
$kvk = ClientFactory::create($apiKey, $rootCertificate);
// Search by company name
$companies = $kvk->search('Vormkracht10');
$companies = $kvk->search('Vormkracht10', [
'pagina' => 1,
'resultatenPerPagina' => 10
]);
$kvk->setPage(2);
$kvk->setResultsPerPage(20);
$companies = $kvk->searchByKvkNumber('12345678');
$companies = $kvk->searchByRSIN('12345678');
composer test
Please see CHANGELOG for more information on what has changed recently.
The MIT License (MIT). Please see License File for more information.