Installation
Install the package via Composer:
composer require discovery-ukraine/saga-lara-flow
Publish and run the migrations:
php artisan vendor:publish --tag="saga-lara-flow-migrations"
php artisan migrate
Optionally publish the config file:
php artisan vendor:publish --tag="saga-lara-flow-config"
Requirements
- PHP
^8.5 - Laravel 13 (
illuminate/*: ^13) - A queue connection you can run workers against (database, Redis, SQS, …). The
syncdriver works forrunSync()but not for the queued, suspend-and-replay paths.
The package auto-registers its service provider and the SagaFlow facade through Laravel's package
discovery — no manual wiring required.
What gets installed
- A single migration,
create_saga_lara_flow_initial_tables, creating the engine's tables (flow runs, action runs, events, signals, tags, children, compensations, side effects), all prefixed withsaga_by default. - The
config/saga-lara-flow.phpconfig file (see Configuration). - The
SagaFlowfacade and a set ofsaga-flow:*Artisan commands.