PHPackages                             salonhub/kvk-api - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. salonhub/kvk-api

ActiveLibrary[API Development](/categories/api)

salonhub/kvk-api
================

PHP KVK API client

1.0.0(1y ago)115MITPHPPHP ^7.3|^8.0

Since Jul 31Pushed 1y agoCompare

[ Source](https://github.com/Salonhub/kvk-api)[ Packagist](https://packagist.org/packages/salonhub/kvk-api)[ RSS](/packages/salonhub-kvk-api/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (3)Used By (0)

PHP KVK api client
==================

[](#php-kvk-api-client)

This project is a fork of the orignial KVK API created by Appvise for use in Salonhub. It contains only minor changes to keep it working.

As for 1 april 2022 there are some new API's available for interacting with KVK. This library makes this easy for you. Check for installation and usage details below.

Documentation
-------------

[](#documentation)

### Installation

[](#installation)

Install this package via composer

```
composer require salonhub/kvk-api
```

Probably you want to install the KVK (Staat der Nederlanden Private Root CA - G1) certificate into you trusted chains. For more information head to: [Certificate information](https://developers.kvk.nl/nl/support/tls-certificate-chain-trust-instructions)

### Usage

[](#usage)

#### Zoeken API

[](#zoeken-api)

```
use Appvise\KvkApi\Http\SearchQuery;
use Appvise\KvkApi\KvkClientFactory;
use Appvise\KvkApi\Exception\ApiException;
use Appvise\KvkApi\Exception\NotFoundException;

// for more information check:
// https://developers.kvk.nl/nl/support/tls-certificate-chain-trust-instructions
$rootCertificate = ;
$client = KvkClientFactory::create(, 'test | production', $rootCertificate);

$query = new SearchQuery();
$query->setKvkNumber('KVK nummer to search for');

try {
    $resultaten = $this->client->search($query);
    foreach ($resultaten->getResultaten() as $searchResult) {
        // do something with $searchResult
    }
} catch(NotFoundException | ApiException $exception) {
    // handle error
}
```

#### BasisProfiel API

[](#basisprofiel-api)

```
use Appvise\KvkApi\Http\ProfileQuery;
use Appvise\KvkApi\KvkClientFactory;
use Appvise\KvkApi\Exception\ApiException;
use Appvise\KvkApi\Exception\NotFoundException;

// for more information check:
// https://developers.kvk.nl/nl/support/tls-certificate-chain-trust-instructions
$rootCertificate = ;
$client = KvkClientFactory::create(, 'test | production', $rootCertificate);

$query = new ProfileQuery();
$query->setKvkNumber('KVK nummer to fetch basis profile information for');

try {
    $basisProfile = $this->client->getBasisProfiel($query);
    // do something with $basisProfile
} catch(NotFoundException | ApiException $exception) {
    // handle error
}
```

### Tests

[](#tests)

```
composer test
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance38

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

531d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/512d063f8b788a806a07cdffed91c203b1a9c46487f4dbbb1a480cc4c0e3f438?d=identicon)[Salonhub](/maintainers/Salonhub)

---

Top Contributors

[![NielsLeenheer](https://avatars.githubusercontent.com/u/233230?v=4)](https://github.com/NielsLeenheer "NielsLeenheer (3 commits)")[![DaanGeurts](https://avatars.githubusercontent.com/u/2170399?v=4)](https://github.com/DaanGeurts "DaanGeurts (2 commits)")[![paulusdeboer](https://avatars.githubusercontent.com/u/151018985?v=4)](https://github.com/paulusdeboer "paulusdeboer (2 commits)")[![CasEbb](https://avatars.githubusercontent.com/u/617080?v=4)](https://github.com/CasEbb "CasEbb (1 commits)")[![maarten00](https://avatars.githubusercontent.com/u/1579711?v=4)](https://github.com/maarten00 "maarten00 (1 commits)")

---

Tags

kvk-apiapp-viseappvise

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/salonhub-kvk-api/health.svg)

```
[![Health](https://phpackages.com/badges/salonhub-kvk-api/health.svg)](https://phpackages.com/packages/salonhub-kvk-api)
```

###  Alternatives

[twilio/sdk

A PHP wrapper for Twilio's API

1.6k92.9M272](/packages/twilio-sdk)[knplabs/github-api

GitHub API v3 client

2.2k15.8M187](/packages/knplabs-github-api)[facebook/php-business-sdk

PHP SDK for Facebook Business

90121.9M34](/packages/facebook-php-business-sdk)[meilisearch/meilisearch-php

PHP wrapper for the Meilisearch API

73813.7M114](/packages/meilisearch-meilisearch-php)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)[hubspot/api-client

Hubspot API client

23414.2M16](/packages/hubspot-api-client)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
