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(2mo ago)174.1k↑83.1%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 4d 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 2w 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 97% of packages

Maintenance74

Regular maintenance activity

Popularity36

Limited adoption so far

Community26

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 54.5% 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

69d 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 (38 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

[neos/neos-development-collection

Neos packages in a joined repository for pull requests.

267104.3k1](/packages/neos-neos-development-collection)[sylius/sylius

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

8.5k6.0M777](/packages/sylius-sylius)[flow-php/flow

PHP ETL - Extract Transform Load - Data processing framework

86337.5k](/packages/flow-php-flow)[sulu/sulu

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

1.3k1.4M236](/packages/sulu-sulu)[leantime/leantime

Open source project management system for non-project managers. Simple like Trello, powerful like Jira. Built with neurodiversity in mind.

11.3k4.0k](/packages/leantime-leantime)[ahmed-bhs/doctrine-doctor

Runtime analysis tool for Doctrine ORM integrated into Symfony Web Profiler. Unlike static linters, it analyzes actual query execution at runtime to detect performance bottlenecks, security vulnerabilities, and best practice violations during development with real execution context and data.

12413.3k](/packages/ahmed-bhs-doctrine-doctor)

PHPackages © 2026

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