Search by

wterberg / dcat-ap-donl

WterBerg

Allows for creation and validation of datasets conforming to the DCAT-AP-DONL 1.1 metadata standard

Package info

github.com/WterBerg/php-dcatapdonl

pkg:composer/wterberg/dcat-ap-donl

Statistics

Installs: 3 222

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

1.1.0 2026-08-05 07:47 UTC

This package is auto-updated.

Last update: 2026-09-05 07:59:06 UTC


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());