This library provides two services to download data and files from IRISbox e-admnistration.
\Jawira\IrisboxSdk\DemandService
getDemandsBetweenDates()
getDemand()
getDemandsByStatus()
getFormXsd()
setDemandInternalReference()
setDemandStatus()
\Jawira\IrisboxSdk\DocumentService
getAttachments()
getDemandPdf()
setDemandStatusWithAttachments()
<?php
use Jawira\IrisboxSdk\DemandModel\FormDetails;
use Jawira\IrisboxSdk\DemandModel\GetDemandsBetweenDatesRequest;
use Jawira\IrisboxSdk\DemandService;
// Instantiate service
$demandService = new DemandService('my-username', 'the-magic-key', 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-31';
$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-sdk
This library is licensed under the MIT license.
-
jawira/doctrine-diagram-bundle
- Symfony Bundle to generate database diagrams.
- more...