backslashphp/backslash

CQRS and Event Sourcing infrastructure for modern PHP

2.0.5 2024-09-16 12:11 UTC

This package is auto-updated.

Last update: 2025-07-03 03:40:46 UTC


README

Latest Version Composer PHP Software License

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 and ext-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.