wwwision / subscription-engine
Subscription engine for event-sourced systems
Fund package maintenance!
bwaidelich
Paypal
Requires
- php: >=8.3
- psr/log: ^1 || ^2 || ^3
Requires (Dev)
- phpstan/phpstan: ^2
- phpunit/phpunit: ^11
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^4.0.x-dev
This package is auto-updated.
Last update: 2025-06-17 17:13:50 UTC
README
Subscription engine for event-sourced systems
Usage
This package contains base types and interfaces for Subscription Engines. In order to use it, implementations for the following interfaces have to be provided:
SubscriptionStore
The SubscriptionStore allows to persist and update the state of subscriptions and allows to lock access such that multiple processes cannot change the same subscription at the same time.
Implementations
- wwwision/subscription-engine-doctrine provides a DBAL implementation that is compatible with MySQL/MariaDB, PostgreSQL and SQLite.
EventStoreAdapter
The EventStoreAdapter is the adapter for the actual event store implementation
Implementations
- wwwision/subscription-engine-neos-adapter - adapter for the neos/eventstore
- wwwision/subscription-engine-dcb-adapter - adapter for the wwwision/dcb-eventstore
Contribution
Contributions in the form of issues or pull requests are highly appreciated
License
See LICENSE
Acknowledgements
This implementation is heavily inspired by parts of the patchlevel/event-sourcing package