wwwision / dcb-eventstore
Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini
Fund package maintenance!
bwaidelich
Paypal
Installs: 7 837
Dependents: 6
Suggesters: 0
Security: 0
Stars: 9
Watchers: 3
Forks: 0
Open Issues: 1
Type:package
Requires
- php: >=8.3
- psr/clock: ^1
- webmozart/assert: ^1.11
Requires (Dev)
- phpstan/phpstan: ^2
- phpunit/phpunit: ^11
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^4.0.x-dev
README
Implementation of the Dynamic Consistency Boundary pattern described by Sara Pellegrini
The main purpose of this package is to explore the idea, find potential pitfalls and to spread the word. It merely provides interfaces and core models to implement the DCB pattern. To see the pattern "in action", make sure to have a look at the wwwision/dcb-example package. To actually commit events, a corresponding adapter package is required, see below.
Usage
Install via composer:
composer require wwwision/dcb-eventstore
Adapters
The following adapter implementations can be used with this package:
- wwwision/dcb-eventstore-doctrine – Doctrine DBAL adapter (SQLite, MySQL/MariaDB, PostgreSQL)
- ekvedaras/dcb-eventstore-illuminate – Laravel database adapter
Feel free to contact me or extend this list via pull request if you wrote another adapter implementation
Specification
See Specification.md (work in progress)
Contribution
Contributions in the form of issues, pull requests or discussions are highly appreciated
License
See LICENSE