backslashphp / backslash
CQRS and Event Sourcing infrastructure for modern PHP
Requires (Dev)
- ext-pdo_sqlite: *
- friendsofphp/php-cs-fixer: ^3
- nunomaduro/collision: ^6
- phpstan/phpstan: ^1
- phpunit/phpunit: ^8 || ^9
- psr/container: ^2
- ramsey/uuid: ^4
- squizlabs/php_codesniffer: ^3
Suggests
- phpunit/phpunit: PHPUnit is required by Scenario component
README
Backslash
Modern and opinionated PHP library designed to facilitate the integration of CQRS and Event Sourcing patterns in your application. Fully compliant with the Dynamic Consistency Boundary specification.
DISCLAIMER: While Backslash has been used in production for many years at the FNQLHSSC, it was originally tailored for a specific environment. As such, this library is provided as is, without any guarantees, warranties, or official support.
Try it in action
The demo application repository is the ideal starting point for learning Backslash. Feel free to fork it and start experimenting!
Installation
Add Backslash to your project with Composer:
composer require backslashphp/backslash
Requirements
- PHP 8.2 or newer
ext-json
andext-pdo
(MySQL or SQLite) extensions enabled
Documentation
WORK IN PROGRESS
See the /docs
folder for complete documentation.
Testing
vendor/bin/phpunit
Credits
Backslash was crafted by Maxime Gosselin in Québec, Canada.
License
The MIT License (MIT). Please see License File for more information.