This library provides two services to download data and files from IRISbox e-admnistration.
\Jawira\IrisboxSdk\DemandServicegetDemandsBetweenDates()getDemand()getDemandsByStatus()getFormXsd()setDemandInternalReference()setDemandStatus()
\Jawira\IrisboxSdk\DocumentServicegetAttachments()getDemandPdf()setDemandStatusWithAttachments()
<?php
use Jawira\IrisboxSdk\DemandModel\FormDetails;
use Jawira\IrisboxSdk\DemandModel\GetDemandsBetweenDatesRequest;
use Jawira\IrisboxSdk\DemandService;
// Instantiate service
$demandService = new DemandService('my-username', 'my-password', DemandService::STAGING);
// Prepare DTOs
$form = new FormDetails();
$form->formName = 'MY_FORM';
$form->applicationName = 'MY_APPLICATION';
$request = new GetDemandsBetweenDatesRequest();
$request->form = $form;
$request->startDate = '2025-01-01';
$request->endDate = '2025-06-27';
$request->version = 0;
$request->pageNumber = 0;
// Send request
$response = $demandService->getDemandsBetweenDates($request);
// Print IDs from response
foreach ($response->irisboxDemands as $demand) {
echo $demand->uniqueKey;
}composer require jawira/irisbox-sdkThis library is licensed under the MIT license.
-
jawira/doctrine-diagram-bundle
- Symfony Bundle to generate database diagrams.
- more...