PHP code example of simplyadmire / zaaksysteem

1. Go to this page and download the library: Download simplyadmire/zaaksysteem library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

simplyadmire / zaaksysteem example snippets


use SimplyAdmire\Zaaksysteem\V1\Configuration;
use SimplyAdmire\Zaaksysteem\V1\Client;
use SimplyAdmire\Zaaksysteem\V1\Domain\Repository\CaseTypeRepository;

$configuration = new Configuration([
    'username' => '<username>',
    'apiBaseUrl' => '<api base url excluding version prefix>',
    'apiKey' => '<api key>'
]);

$client = new Client($configuration);
$repository = new CaseTypeRepository($client);

$caseTypes = $repository->findAll();