PHPackages                             wwwision/dcb-eventstore-doctrine - 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. wwwision/dcb-eventstore-doctrine

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

wwwision/dcb-eventstore-doctrine
================================

Doctrine DBAL adapter for the Dynamic Consistency Boundary implementation

6.0.0(2mo ago)328.4k↓30.9%2[1 issues](https://github.com/bwaidelich/dcb-eventstore-doctrine/issues)[5 PRs](https://github.com/bwaidelich/dcb-eventstore-doctrine/pulls)1MITPHPPHP &gt;=8.3CI passing

Since Jun 5Pushed 1mo ago2 watchersCompare

[ Source](https://github.com/bwaidelich/dcb-eventstore-doctrine)[ Packagist](https://packagist.org/packages/wwwision/dcb-eventstore-doctrine)[ GitHub Sponsors](https://github.com/sponsors/bwaidelich)[ Fund](https://www.paypal.me/bwaidelich)[ RSS](/packages/wwwision-dcb-eventstore-doctrine/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (20)Versions (29)Used By (1)

Dynamic Consistency Boundary Event Store - Doctrine DBAL adapter
================================================================

[](#dynamic-consistency-boundary-event-store---doctrine-dbal-adapter)

[Doctrine DBAL](https://www.doctrine-project.org/projects/doctrine-dbal/en/current/index.html) adapter for the [Dynamic Consistency Boundary implementation](https://github.com/bwaidelich/dcb-eventstore).

Usage
-----

[](#usage)

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

```
composer require wwwision/dcb-eventstore-doctrine
```

### Create instance

[](#create-instance)

```
use Doctrine\DBAL\DriverManager;
use Doctrine\DBAL\Tools\DsnParser;
use Wwwision\DCBEventStoreDoctrine\DoctrineEventStore;

$dsn = 'pdo-mysql://user:password@127.0.0.1:3306/database';
$connection = DriverManager::getConnection((new DsnParser())->parse($dsn));
$eventStore = DoctrineEventStore::create($connection, eventTableName: 'events');
```

### Automatically create required database tables

[](#automatically-create-required-database-tables)

```
// ...
$eventStore->setup();
```

See [wwwision/dcb-eventstore](https://github.com/bwaidelich/dcb-eventstore) for more details and usage examples

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

[](#contribution)

Contributions in the form of [issues](https://github.com/bwaidelich/dcb-eventstore-doctrine/issues) or [pull requests](https://github.com/bwaidelich/dcb-eventstore-doctrine/pulls) are highly appreciated

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

53

—

FairBetter than 97% of packages

Maintenance82

Actively maintained with recent releases

Popularity32

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 86.2% 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 ~42 days

Recently: every ~36 days

Total

25

Last Release

69d ago

Major Versions

2.1.0 → 3.0.02023-08-16

3.0.2 → 4.0.02024-12-10

3.1.0 → 4.1.02025-01-14

4.3.0 → 5.0-beta-12025-10-17

5.1.0 → 6.0.02026-03-11

PHP version history (5 changes)1.0.0PHP 8.2

1.2.1PHP &gt;=8.2

2.1.0PHP &gt;=8.1

4.0.0PHP &gt;=8.4

4.1.0PHP &gt;=8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/307571?v=4)[Bastian Waidelich](/maintainers/bwaidelich)[@bwaidelich](https://github.com/bwaidelich)

---

Top Contributors

[![bwaidelich](https://avatars.githubusercontent.com/u/307571?v=4)](https://github.com/bwaidelich "bwaidelich (56 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (8 commits)")[![Copilot](https://avatars.githubusercontent.com/in/1143301?v=4)](https://github.com/Copilot "Copilot (1 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wwwision-dcb-eventstore-doctrine/health.svg)

```
[![Health](https://phpackages.com/badges/wwwision-dcb-eventstore-doctrine/health.svg)](https://phpackages.com/packages/wwwision-dcb-eventstore-doctrine)
```

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[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)[patchlevel/event-sourcing

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

198283.8k7](/packages/patchlevel-event-sourcing)[worksome/foggy

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

26571.7k1](/packages/worksome-foggy)[yokai/doctrine-value-object

Value Objects for Doctrine ORM simplified

1330.4k1](/packages/yokai-doctrine-value-object)

PHPackages © 2026

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