PHPackages                             dmt-software/insolvency-client - 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. dmt-software/insolvency-client

ActiveLibrary[API Development](/categories/api)

dmt-software/insolvency-client
==============================

Client for insolvency SOAP service

v1.0.0(3y ago)131MITPHPPHP &gt;= 7.4CI passing

Since May 25Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/dmt-software/insolvency-client)[ Packagist](https://packagist.org/packages/dmt-software/insolvency-client)[ RSS](/packages/dmt-software-insolvency-client/feed)WikiDiscussions main Synced 2d ago

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

Insolvency Client
=================

[](#insolvency-client)

[![Build Status](https://camo.githubusercontent.com/6a5ff84c46c54fe42759dea1b07234829cd04dffb143a16fcfc00e4d3ff6b595/68747470733a2f2f6170702e7472617669732d63692e636f6d2f646d742d736f6674776172652f696e736f6c76656e63792d636c69656e742e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/dmt-software/insolvency-client)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/634a85568bd713958eaf6913f8c45af21293b9e264fa74965f2aca4270002a32/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646d742d736f6674776172652f696e736f6c76656e63792d636c69656e742f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dmt-software/insolvency-client/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/eb361d9f0240e1e1a9e129c046dc5cf51bb7ee7b6ee3d36b26ac8c2089904311/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646d742d736f6674776172652f696e736f6c76656e63792d636c69656e742f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dmt-software/insolvency-client/?branch=master)

This is a client for the Dutch insolvency web service from rechtspraak.nl.

Installation
------------

[](#installation)

`composer require dmt-software/insolvency-client`

Usage
-----

[](#usage)

Before using this server please visit [rechtspraak.nl](https://www.rechtspraak.nl/Registers/Paginas/Webservice-Centraal-Insolventieregister.aspx)and read the [technical documentation](doc/Technische%20documentatie%20CIR-WS.pdf) (Dutch)

```
use DMT\Insolvency\Client;
use DMT\Insolvency\Config;
use DMT\Insolvency\Exception\Exception;
use DMT\Insolvency\Exception\RequestException;
use DMT\CommandBus\Validator\ValidationException;
use Psr\Http\Client\ClientInterface;
use Psr\Http\Message\RequestFactoryInterface;

$client = new Client(
    new Config(
        user: '{{ username }}',
        password: '{{ password }}'
    ]),
    /** @var ClientInterface $httpClient */
    $httpClient,
    /** @var RequestFactoryInterface $requestFactory */
    $requestFactory,
);

try {
    $publicatieLijst = $client->searchUndertaking(
       '{{ company name }}',
       '{{ kvk-number }}' // chamber of commerce number
    );

    foreach ($publicatieLijst->publicaties as $publicatie) {
        if (!in_array($publicatie->publicatieKenmerk, (array)$cachedPublications)) {
            $insolvente = $publicatie->insolvente; // lazy loads insolvency
        }
    }
} catch (RequestException $exception) {
    // user input errors
    $message = $exception->getMessage();
    if ($exception->getPrevious() instanceof ValidationException) {
        $message = (string) $exception->getPrevious()->getViolations();
    }
    echo $message;
} catch (Exception $exception) {
    // server error
}
```

###  Health Score

31

↑

LowBetter than 68% of packages

Maintenance47

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

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

Every ~105 days

Total

5

Last Release

1394d ago

Major Versions

v0.4 → v1.0.02022-07-19

### Community

Maintainers

![](https://www.gravatar.com/avatar/ec6b7fbb4d231b5c2c76348cf3a13ec5e82c64a1826142f6ec0db1cf15db2873?d=identicon)[proggeler](/maintainers/proggeler)

---

Top Contributors

[![proggeler](https://avatars.githubusercontent.com/u/18281353?v=4)](https://github.com/proggeler "proggeler (30 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dmt-software-insolvency-client/health.svg)

```
[![Health](https://phpackages.com/badges/dmt-software-insolvency-client/health.svg)](https://phpackages.com/packages/dmt-software-insolvency-client)
```

###  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/gax

Google API Core for PHP

263103.1M454](/packages/google-gax)[google/common-protos

Google API Common Protos for PHP

173103.7M50](/packages/google-common-protos)

PHPackages © 2026

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