jawira/irisbox-sdk
最新稳定版本:v1.3.0
Composer 安装命令:
composer require jawira/irisbox-sdk
包简介
Download demands and documents from Irisbox.
README 文档
README
This library provides two services to download data and files from IRISbox e-administration.
\Jawira\IrisboxSdk\DemandService- to search and get demand data.getDemandsBetweenDates()getDemand()getDemandsByStatus()getFormXsd()setDemandInternalReference()setDemandStatus()
\Jawira\IrisboxSdk\DocumentService- to download attachments.getAttachments()getDemandPdf()setDemandStatusWithAttachments()
Staging and Production WSDL are provided as constants:
\Jawira\IrisboxSdk\DemandService::STAGING \Jawira\IrisboxSdk\DemandService::PRODUCTION \Jawira\IrisboxSdk\DocumentService::STAGING \Jawira\IrisboxSdk\DocumentService::PRODUCTION
Usage
Search all demands between two dates:
<?php use Jawira\IrisboxSdk\DemandModel\FormDetails; use Jawira\IrisboxSdk\DemandModel\GetDemandsBetweenDatesRequest; use Jawira\IrisboxSdk\DemandService; // 1. Instantiate service $demandService = new DemandService('my-username', 'my-password', DemandService::STAGING); // 2. 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; // 3. Send request $response = $demandService->getDemandsBetweenDates($request); // 4. Print IDs from response foreach ($response->irisboxDemands as $demand) { echo $demand->uniqueKey; }
How to install
composer require jawira/irisbox-sdk
Contributing
License
This library is licensed under the MIT license.
Packages from jawira
-
jawira/doctrine-diagram-bundle
- Symfony Bundle to generate database diagrams.
- more...
统计信息
- 总下载量: 133
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-04-17