wterberg / dcat-ap-donl
Allows for creation and validation of datasets conforming to the DCAT-AP-DONL 1.1 metadata standard
1.1.0
2026-08-05 07:47 UTC
Requires
- php: ^8.2
- ext-curl: *
- ext-json: *
Requires (Dev)
- mockery/mockery: ^1.6
- php-cs-fixer/shim: ^3.89
- phpstan/phpstan-strict-rules: ^2.0
- phpunit/phpunit: ^12.0
- xpertselect/tools: ^3.4
README
github.com/WterBerg/php-dcatapdonl
This package allows for creation and validation of datasets conforming to the DCAT-AP-DONL 1.1 metadata standard.
License
View the LICENSE.md file for licensing details.
Installation
Installation of wterberg/dcat-ap-donl is done via Composer.
composer require wterberg/dcat-ap-donl
Usage
Usage can be as simple as:
use DCAT_AP_DONL\DCATDataset; use DCAT_AP_DONL\DCATLiteral; $dataset = new DCATDataset(); $dataset->setTitle(new DCATLiteral('My new dataset'); $validation = $dataset->validate(); var_dump($validation->getMessages());