henzeb / laravel-simple-saga
A simple saga pattern implementation for Laravel
dev-master
2026-09-14 22:00 UTC
Requires
- php: ^8.3
- illuminate/support: ^11.0|^12.0|^13.0
Requires (Dev)
- mockery/mockery: ^1.6
- orchestra/testbench: ^9.0|^10.0|^11.0
- pestphp/pest: ^4.0
- pestphp/pest-plugin-laravel: ^4.0
- phpstan/phpstan: ^1.4
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-14 22:00:25 UTC
README
A simple saga pattern implementation for Laravel.
Table of contents
Installation
You may install the package via Composer:
composer require henzeb/laravel-simple-saga
If you're using the database driver (the default), publish and run its migration:
php artisan vendor:publish --tag=saga-migrations php artisan migrate
Documentation
- Getting Started
- Defining Workflows
- Writing Steps
- Compensation
- Inspecting Sagas
- Failure Handling
- Retrying a Saga
- Events
- Encrypting Context
- Drivers
- Console Commands
Testing this package
composer test
Security
If you discover any security-related issues, please email henzeberkheij@gmail.com instead of using the issue tracker.
Credits
License
The MIT License (MIT). Please see License File for more information.