Modern and opinionated PHP library designed to facilitate the integration of CQRS and Event Sourcing patterns in your application.
A demo application is available to see Backslash in action.
Version 2 of Backslash has been completely rewritten to align with Dynamic Consistency Boundary principles, as outlined by Sara Pellegrini in her Kill Aggregate blog series. Nevertheless, the traditional DDD approach of implementing Event Sourcing with aggregates is still possible.
While Backslash has been used in production for many years at FNQLHSSC, it was tailored to meet the needs of a specific environment, and it may lack the robustness, flexibility, or polish expected in a widely-adopted, general-purpose library. This library is provided as-is, with no guarantees, warranties, or support.
If you are exploring CQRS or Event Sourcing, you may use Backlash as a learning resource to understand these concepts in practice.
Add Backslash to your project with Composer:
composer require backslashphp/backslash
- PHP version 8.1 or higher
json
andpdo
extensions enabled
vendor/bin/phpunit
Backslash was crafted by Maxime Gosselin in Québec, Canada.
The MIT License (MIT). Please see License File for more information.