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

2.0.3(1y ago)148.4k—0.5%6[1 PRs](https://github.com/neos/eventstore-doctrineadapter/pulls)2MITPHPPHP ^8.1CI failing

Since Aug 13Pushed 1y 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 main Synced 1mo ago

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

44

—

FairBetter than 92% of packages

Maintenance47

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community22

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 91.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 ~56 days

Recently: every ~93 days

Total

10

Last Release

415d 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

### 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)")[![skurfuerst](https://avatars.githubusercontent.com/u/190777?v=4)](https://github.com/skurfuerst "skurfuerst (3 commits)")[![kitsunet](https://avatars.githubusercontent.com/u/324408?v=4)](https://github.com/kitsunet "kitsunet (1 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

[sonata-project/entity-audit-bundle

Audit for Doctrine Entities

644989.8k1](/packages/sonata-project-entity-audit-bundle)[damienharper/auditor-bundle

Integrate auditor library in your Symfony projects.

4542.8M](/packages/damienharper-auditor-bundle)[overtrue/laravel-versionable

Make Laravel model versionable.

585308.0k5](/packages/overtrue-laravel-versionable)[worksome/foggy

Foggy is a tool for making database dumps with some data removed/changed.

26571.7k1](/packages/worksome-foggy)[flow-php/doctrine-dbal-bulk

Bulk inserts and updates for Doctrine DBAL

14295.2k1](/packages/flow-php-doctrine-dbal-bulk)[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.

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

PHPackages © 2026

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