programic/ecli-service
最新稳定版本:1.8.1
Composer 安装命令:
composer require programic/ecli-service
包简介
Interface for fetching data from rechtspraak.nl
README 文档
README
Met deze package kun je informatie opvragen via de open API van Rechtspraak.nl
Elke call zal een resource of een array met resources teruggeven.
Gebruik
Om deze package te gebruiken, installeer je de package via composer.
In je composer.json:
{
"require": {
"programic/ecli-service": "^1.0"
}
}
In je code:
<?php use Programic\EcliService\Client; $client = new Client();
Functies
organizations
Returns an array with instances of Resource\Organization
if parameter onlyActive is set to false, also inactive organizations will be returned.
$results = $client->organizations(true); $organization = $results[0]; $organization->name; $organization->type; $organization->abbreviation; $organization->identifier; $organization->startDate; $organization->endDate;
jurisdictions
Returns an array with instances of Resource\Jurisdiction
$results = $client->jurisdictions(); $jurisdiction = $results[0]; $jurisdiction->name; $jurisdiction->identifier; $jurisdiction->subJurisdictions;
procedureTypes
Returns an array with instances of Resource\ProcedureType
$results = $client->procedureTypes(); $procedureType = $results[0]; $procedureType->name; $procedureType->identifier;
getEcliMetaData
Returns an instance of Resource\EcliMetaData
$ecliData = $client->getEcliMetaData('ECLI:NL:HR:2014:952'); $ecliData->identifier; $ecliData->modified; $ecliData->issued; $ecliData->publisher; $ecliData->creator; $ecliData->date; $ecliData->type; $ecliData->subject; $ecliData->relation; $ecliData->references;
ecliExists
Returns a boolean to determine if the provided ECLI-number exists
$ecliExists = $client->ecliExists('ECLI:NL:HR:2014:952');
统计信息
- 总下载量: 2.8k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: proprietary
- 更新时间: 2021-05-14