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

Since Aug 24Pushed 1mo 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 1mo ago

READMEChangelog (7)Dependencies (20)Versions (12)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

45

—

FairBetter than 92% of packages

Maintenance90

Actively maintained with recent releases

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94% 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 ~31 days

Total

7

Last Release

70d 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 (142 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (9 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

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)

PHPackages © 2026

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