This is a stand-alone OAI-PMH 2.0 data provider. It serves records in any XML metadata format from a database, supports deleted records, resumption tokens and sets.

v1.0.0 2025-08-24 18:08 UTC

This package is auto-updated.

Last update: 2025-08-26 10:34:00 UTC


README

A stand-alone, easy to maintain application for providing a data service following the Open Archives Initiative Protocol for Metadata Harvesting 2.0 (OAI-PMH2).

The OAI-PMH2 Data Provider serves records in multiple XML formats from any SQL database. It supports persistent deletion policies by transparently keeping track of deleted records, can manage hierarchical sets with descriptions and uses resumption tokens for flow control.

This application follows the highest coding standards of PHPStan, Psalm, PHP Mess Detector, PHP_CodeSniffer, and complies to PSR-12 code style guidelines to make sure it is reliable, maintainable and easily reusable.

Quick Start

The intended and recommended way of installing this application is via Composer. The following command will get you the latest version:

composer create-project opencultureconsulting/oai-pmh2 --ask --no-dev

All available versions as well as further information about requirements and dependencies can be found on Packagist.

Full Documentation

The full documentation is available on GitHub Pages or alternatively in doc/.

Quality Gates

PHPCS PHPMD

PHPStan Psalm