PHPackages                             opencultureconsulting/oai-pmh2 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. opencultureconsulting/oai-pmh2

ActiveProject[API Development](/categories/api)

opencultureconsulting/oai-pmh2
==============================

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.1.2(1mo ago)12371GPL-3.0-or-laterPHPPHP ^8.2CI passing

Since Aug 24Pushed 3d ago2 watchersCompare

[ Source](https://github.com/opencultureconsulting/oai-pmh2)[ Packagist](https://packagist.org/packages/opencultureconsulting/oai-pmh2)[ Docs](https://code.opencultureconsulting.com/oai-pmh2/)[ Fund](https://paypal.me/sebastianmeyer)[ GitHub Sponsors](https://github.com/sebastian-meyer)[ RSS](/packages/opencultureconsulting-oai-pmh2/feed)WikiDiscussions main Synced yesterday

READMEChangelog (8)Dependencies (40)Versions (19)Used By (0)

OAI-PMH2 Data Provider
======================

[](#oai-pmh2-data-provider)

***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)](https://openarchives.org/OAI/openarchivesprotocol.html).***

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](https://phpstan.org/), [Psalm](https://psalm.dev/), [PHP Mess Detector](https://phpmd.org/), [PHP\_CodeSniffer](https://github.com/PHPCSStandards/PHP_CodeSniffer/), and complies to [PSR-12](https://www.php-fig.org/psr/psr-12/) code style guidelines to make sure it is reliable, maintainable and easily reusable.

Quick Start
-----------

[](#quick-start)

The intended and recommended way of installing this application is via [Composer](https://getcomposer.org/). 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](https://packagist.org/packages/opencultureconsulting/oai-pmh2).

Full Documentation
------------------

[](#full-documentation)

The full documentation is available on [GitHub Pages](https://code.opencultureconsulting.com/oai-pmh2/) or alternatively in [doc/](doc/).

Quality Gates
-------------

[](#quality-gates)

[![PHPCS](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/phpcs.yml/badge.svg)](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/phpcs.yml)[![PHPMD](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/phpmd.yml/badge.svg)](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/phpmd.yml)

[![PHPStan](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/phpstan.yml/badge.svg)](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/phpstan.yml)[![Psalm](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/psalm.yml/badge.svg)](https://github.com/opencultureconsulting/oai-pmh2/actions/workflows/psalm.yml)

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance95

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~36 days

Recently: every ~51 days

Total

8

Last Release

56d ago

PHP version history (2 changes)v1.0.0PHP ^8.1

v1.1.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/4cb1792455fb3e8e6d9345ec2665d661a011463a58d42db73ce4ae4ceb358c95?d=identicon)[Sebastian Meyer](/maintainers/Sebastian%20Meyer)

---

Top Contributors

[![sebastian-meyer](https://avatars.githubusercontent.com/u/1798167?v=4)](https://github.com/sebastian-meyer "sebastian-meyer (143 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (22 commits)")

---

Tags

code4libdata-provideroaioai-pmhphprepositoryOAI-PMHoaipmhOAIcode4liboaipmh2oai-pmh2

###  Code Quality

Static AnalysisPHPStan, Psalm

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/opencultureconsulting-oai-pmh2/health.svg)

```
[![Health](https://phpackages.com/badges/opencultureconsulting-oai-pmh2/health.svg)](https://phpackages.com/packages/opencultureconsulting-oai-pmh2)
```

###  Alternatives

[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

585.6M576](/packages/shopware-core)[shopware/platform

The Shopware e-commerce core

3.4k1.5M3](/packages/shopware-platform)[easycorp/easyadmin-bundle

Admin generator for Symfony applications

4.3k17.9M388](/packages/easycorp-easyadmin-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.4M204](/packages/sulu-sulu)[open-dxp/opendxp

Content &amp; Product Management Framework (CMS/PIM)

9421.6k61](/packages/open-dxp-opendxp)[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.5k5.9M738](/packages/sylius-sylius)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
