Skip to content
OpenKvk PHP Client Library + Command-line utility
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.

OpenKVK Client library + commandline utility

This repository contains a simple PHP client for the API.

How to use it as a library

Simply include the library through composer:

"linkorb/openkvk": "dev-master"

After this, you can instantiate and use the client as follows:

// Instantiate the client
$client = new \OpenKvk\Client();

// Get data by Kvk nr
$csv = $client->getByKvk("24365015");

// Convert into a PHP array
$data = $client->csvToArray($csv);

// Output array
print_r($data); // Outputs array by key/value

How to use it as a command line utility

The included bin/openkvk command is based on the Symfony Console component

Example usage:

bin/openkvk # output available options
bin/openkvk openkvk:getbykvk 24365015 # get info by kvk number
bin/openkvk openkvk:getbyname "LinkORB" # get info by companyname
bin/openkvk openkvk:getbysbi 85.59.2 # get info by SBI (85592 = business training and education)


Brought to you by the LinkORB Engineering team

Check out our other projects at

Btw, we're hiring!

You can’t perform that action at this time.