achrafbardan / kvk-sdk
KVK SDK for php 8.1 and up.
1.0.1
2024-05-01 10:23 UTC
Requires
- php: ^8.1
- php-http/client-common: ^2.5
- psr/http-client: ^1.0
- psr/http-factory: ^1.0
Requires (Dev)
- nyholm/psr7: ^1.8@dev
- php-http/curl-client: ^2.2
- phpunit/phpunit: ^9.5
- symfony/var-dumper: ^6.0
This package is auto-updated.
Last update: 2024-12-01 00:21:10 UTC
README
Search the kvk database for free.
Installation
Run the following command to install the kvk sdk:
composer require achrafbardan/kvk-sdk
Usage
... use AchrafBardan\KvkSdk\Client; ... $client = new Client(); $client->search('76274160');
Returns:
{ "resultatenHR": [ { "handelsnaam": "Bardan", "handelsnamen": "Bardan", "dossiernummer": "76274160", "subdossiernummer": "0000", "vestigingsnummer": "000044093411", "straat": "Asterstraat", "huisnummer": "7", "huisnummertoevoeging": "", "postcode": "5701WC", "plaats": "Helmond", "type": "Hoofdvestiging", "vestiging": 1, "hoofdvestiging": 1, "rechtsvormcode": "01", "rechtsvormbeschrijving": "Eenmanszaak", "commercieel": 1, "hoofdactiviteitcode": "47912", "nevenactiviteiten": [ "47911", "6209" ] } ] }