PHPackages                             neos/eventstore-doctrineadapter - 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. [Database &amp; ORM](/categories/database)
4. /
5. neos/eventstore-doctrineadapter

ActiveLibrary[Database &amp; ORM](/categories/database)

neos/eventstore-doctrineadapter
===============================

Doctrine DBAL based implementation for the neos/eventstore

3.0.0(3w ago)167.3k↑72.3%6[4 issues](https://github.com/neos/eventstore-doctrineadapter/issues)[3 PRs](https://github.com/neos/eventstore-doctrineadapter/pulls)2MITPHPPHP ^8.2CI passing

Since Aug 13Pushed 3w ago6 watchersCompare

[ Source](https://github.com/neos/eventstore-doctrineadapter)[ Packagist](https://packagist.org/packages/neos/eventstore-doctrineadapter)[ Fund](https://www.neos.io/community/participate/supporting-neos.html)[ RSS](/packages/neos-eventstore-doctrineadapter/feed)WikiDiscussions 3.0 Synced 3d ago

READMEChangelog (10)Dependencies (18)Versions (23)Used By (2)

Doctrine DBAL adapter for the `neos/eventstore` package
=======================================================

[](#doctrine-dbal-adapter-for-the-neoseventstore-package)

Database Adapter implementation for the [neos/eventstore](https://github.com/neos/eventstore) package.

> **Note**Currently this package supports MySQL (including MariaDB), PostgreSQL and SQLite.

Usage
-----

[](#usage)

Install via [composer](https://getcomposer.org):

```
composer require neos/eventstore-doctrineadapter
```

### Create an instance

[](#create-an-instance)

To create a `DoctrineEventStore`, an instance of `\Doctrine\DBAL\Connection` is required. This can be obtained from a given DSN for example:

```
use Doctrine\DBAL\DriverManager;

$connection = DriverManager::getConnection(['url' => $dsn]);
```

See [Doctrine documentation](https://www.doctrine-project.org/projects/doctrine-dbal/en/latest/reference/configuration.html#getting-a-connection) for more details.

With that, an Event Store instance can be created:

```
use Neos\EventStore\DoctrineAdapter\DoctrineEventStore;

$eventTableName = 'some_namespace_events';
$eventStore = new DoctrineEventStore($connection, $eventTableName);
```

See [README](https://github.com/neos/eventstore/blob/main/README.md#usage) of the `neos/eventstore` package for details on how to write and read events.

Contribution
------------

[](#contribution)

Contributions in the form of [issues](https://github.com/neos/eventstore-doctrineadapter/issues), [pull requests](https://github.com/neos/eventstore-doctrineadapter/pulls) or [discussions](https://github.com/neos/eventstore-doctrineadapter/discussions) are highly appreciated

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

54

—

FairBetter than 96% of packages

Maintenance75

Regular maintenance activity

Popularity36

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 55.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 ~79 days

Recently: every ~132 days

Total

13

Last Release

23d ago

Major Versions

1.0.0 → 2.0.02024-01-19

1.0.1 → 2.0.12024-03-22

1.0.x-dev → 2.0.22024-12-29

2.0.x-dev → 3.0.02026-06-10

PHP version history (2 changes)1.0.0-beta1PHP ^8.1

3.0.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11575267?v=4)[Neos](/maintainers/neos)[@neos](https://github.com/neos)

---

Top Contributors

[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (54 commits)")[![mhsdesign](https://avatars.githubusercontent.com/u/85400359?v=4)](https://github.com/mhsdesign "mhsdesign (36 commits)")[![kitsunet](https://avatars.githubusercontent.com/u/324408?v=4)](https://github.com/kitsunet "kitsunet (3 commits)")[![skurfuerst](https://avatars.githubusercontent.com/u/190777?v=4)](https://github.com/skurfuerst "skurfuerst (3 commits)")[![nezaniel](https://avatars.githubusercontent.com/u/1687674?v=4)](https://github.com/nezaniel "nezaniel (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/neos-eventstore-doctrineadapter/health.svg)

```
[![Health](https://phpackages.com/badges/neos-eventstore-doctrineadapter/health.svg)](https://phpackages.com/packages/neos-eventstore-doctrineadapter)
```

###  Alternatives

[sylius/sylius

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

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

PHP ETL - Extract Transform Load - Data processing framework

85036.3k](/packages/flow-php-flow)[neos/neos-development-collection

Neos packages in a joined repository for pull requests.

267103.9k1](/packages/neos-neos-development-collection)[sulu/sulu

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

1.3k1.4M203](/packages/sulu-sulu)[patchlevel/event-sourcing

A lightweight but also all-inclusive event sourcing library with a focus on developer experience

207362.9k13](/packages/patchlevel-event-sourcing)[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

6421.1M1](/packages/sonata-project-entity-audit-bundle)

PHPackages © 2026

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