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

ActivePackage

wwwision/dcb-eventstore-esdb
============================

EventSourcing Database adapter for the Dynamic Consistency Boundary implementation

1.0.0(4mo ago)00MITPHPPHP &gt;=8.4CI passing

Since Dec 24Pushed 4mo agoCompare

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

READMEChangelog (1)Dependencies (11)Versions (2)Used By (0)

Dynamic Consistency Boundary Event Store - ESDB adapter
=======================================================

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

[EventSourcing Database](https://www.eventsourcingdb.io/) adapter for the [Dynamic Consistency Boundary implementation](https://github.com/bwaidelich/dcb-eventstore).

Usage
-----

[](#usage)

### Installation

[](#installation)

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

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

### Create instance

[](#create-instance)

```
use Wwwision\DCBEventStoreESDB\ESDBEventStore;

$eventStore = ESDBEventStore::create(baseUri: 'localhost:3000', apiKey: 'secret');
```

### Specify custom event source / type prefix

[](#specify-custom-event-source--type-prefix)

EventSourcing Database expects each event to have a [source](https://docs.eventsourcingdb.io/fundamentals/sources/) specified. Furthermore, [event types](https://docs.eventsourcingdb.io/fundamentals/event-types/) have to be namespaced.

By default, the `eventSource` is set to "" and the event type is prefixed with "events.dcb." to be compliant. Those values are removed when reading events via the `ESDBEventStore` client, so the values are not really important. However, they can be changed via the `with()` function:

```
// ...
$eventStore = $eventStore->with(
  eventSource: 'https://domain.tld',
  eventTypePrefix: 'tld.domain.'
);
```

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-esdb/issues) or [pull requests](https://github.com/bwaidelich/dcb-eventstore-esdb/pulls) are highly appreciated

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance75

Regular maintenance activity

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

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

Unknown

Total

1

Last Release

139d ago

### 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 (9 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[sylius/sylius

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

8.4k5.6M651](/packages/sylius-sylius)[kreait/firebase-php

Firebase Admin SDK

2.4k39.7M72](/packages/kreait-firebase-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

1.8k245.3k21](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)[laminas/laminas-cache

Caching implementation with a variety of storage options, as well as codified caching strategies for callbacks, classes, and output

1076.9M130](/packages/laminas-laminas-cache)[sylius/core

Sylius e-commerce core. It integrates all components.

10143.1k31](/packages/sylius-core)

PHPackages © 2026

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