gember / rdbms-event-store-doctrine-dbal
Gember Event store (gember/event-sourcing) implementation based on doctrine/dbal
Package info
github.com/GemberPHP/rdbms-event-store-doctrine-dbal
pkg:composer/gember/rdbms-event-store-doctrine-dbal
Requires
- php: ^8.3
- doctrine/dbal: ^4.0
- gember/dependency-contracts: ^0.9
Requires (Dev)
- captainhook/captainhook: ^5.23
- friendsofphp/php-cs-fixer: ^3.58
- phpstan/phpstan: ^2.1
- phpunit/phpunit: ^12.1
- rector/rector: ^2.0
- rregeer/phpunit-coverage-check: ^0.3.1
- shipmonk/composer-dependency-analyser: ^1.5
- symfony/property-access: ^7.0|^8.0
- uma/ocular: ^2.0
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-11-01 19:58:21 UTC
README
Gember Event store (gember/event-sourcing) implementation based on doctrine/dbal.
Installation
composer require gember/rdbms-event-store-doctrine-dbal
With gember/event-sourcing-symfony-bundle or gember/event-sourcing-universal-service-provider, this package is installed and wired automatically.
Database
Supported: MySQL and MariaDB (InnoDB), and SQLite. Other platforms throw an UnsupportedPlatformException.
The tables (event store, saga store, snapshot store and outbox) are available as:
- Raw SQL (MySQL/MariaDB): resources/schema.sql
- Doctrine migrations: resources/migrations/doctrine (namespace
DoctrineMigrations; copy them into your migrations directory) - Phinx migrations: resources/migrations/phinx
While in 0.x, released migrations are changed in place: a database that already ran them needs the manual steps in UPGRADE.md.
Documentation
- Gember Event Sourcing documentation
- Testing: running the unit tests and the MySQL concurrency tests