achrafbardan/kvk-sdk

KVK SDK for php 8.1 and up.

1.0.1 2024-05-01 10:23 UTC

This package is auto-updated.

Last update: 2024-10-01 00:14:43 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"
            ]
        }
    ]
}