Skip to content

spelbreker/cir-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CIR (Centraal insulventieregister) API

Installation

With composer, add:

$ composer require patrickdevelopment/cir

Usage

search undertaking

$builder = new \patrickDevelopment\cir\builder\SearchUndertaking();

$builder->setHouseNumber(99);
$builder->setPostalCode('2404HH');

$client = new \patrickDevelopment\cir\client\CirClient($builder);
$client->setAuthentication('username', 'password');
print_r($client->fetchResults());

search get case with reports

$builder = new \patrickDevelopment\cir\builder\GetCaseWithReports();
$builder->setPublicationNumber('09.dha.20.118.F.1300.1.20');

$client = new \patrickDevelopment\cir\client\CirClient($builder);
$client->setAuthentication('username', 'password');
print_r($client->fetchResults());

get (PDF) reports

$client = new \patrickDevelopment\cir\client\CirClient(new patrickDevelopment\cir\builder);
$client->fetchPdfDownload('09_dha_20_118_F_V_02');

Author

CIR API has been created by Patrick Brouwer and is currently maintained by the developers at Patrick Development.

About

centraal insolventieregister API

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages