achrafbardan/kvk-sdk

There is no license information available for the latest version (1.0.0) of this package.

KVK SDK for php 8.1 and up.

1.0.0 2022-02-10 12:54 UTC

This package is auto-updated.

Last update: 2022-06-11 09:31:17 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"
            ]
        }
    ]
}