PHPackages                             wwwision/subscription-engine-dcb-adapter - 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/subscription-engine-dcb-adapter

ActivePackage

wwwision/subscription-engine-dcb-adapter
========================================

wwwision/dcb-eventstore adapter for wwwision/subscription-engine

1.0.0(10mo ago)12[1 issues](https://github.com/bwaidelich/subscription-engine-dcb-adapter/issues)MITPHPPHP &gt;=8.3

Since Jun 17Pushed 10mo agoCompare

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

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

DCB event store subscription engine adapter
===========================================

[](#dcb-event-store-subscription-engine-adapter)

[wwwision/dcb-eventstore](https://packagist.org/packages/wwwision/dcb-eventstore) adapter for [wwwision/subscription-engine](https://github.com/bwaidelich/subscription-engine)

Usage
-----

[](#usage)

```
$eventStore = DoctrineEventStore::create($dbalConnection, eventTableName: 'events');

$subscriptionEngine = new SubscriptionEngine(
    eventStoreAdapter: new DcbEventStoreAdapter($eventStore),
    subscriptionStore: new DoctrineSubscriptionStore($dbalConnection, tableName: 'subscriptions'),
    subscribers: Subscribers::fromArray([
        Subscriber::create(
            id: 'some-projection',
            handler: fn (EventEnvelope $eventEnvelope) => print($eventEnvelope->event->type->value),
            reset: fn () => print('resetting projection for replay'),
        ),
        Subscriber::create(
            id: 'some-process',
            handler: fn (EventEnvelope $eventEnvelope) => print('invoking process...'),
            runMode: RunMode::FROM_NOW,
            setup: fn () => print('setting up process...'),
        ),
    ])
);
```

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

[](#contribution)

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

License
-------

[](#license)

See [LICENSE](./LICENSE)

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

326d 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 (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/wwwision-subscription-engine-dcb-adapter/health.svg)

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

PHPackages © 2026

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