laravel-ai-flow maintained by ibraheem-ghazi
Laravel AI Flow
Composable AI workflows for Laravel. Organize work into ordered steps, run independent tasks in parallel, and resume unfinished work with persisted progress and results.
Features
- Flexible workflows: ordered steps, parallel or sequential tasks, and application lifecycle hooks.
- Reusable AI generation: shared prompts, variable replacers, text, and strict structured output.
- Shared results: later tasks can read completed output from the same run.
- Progress and recovery: run tracking, retry support, and duplicate-work protections.
- Queue visibility: descriptive jobs, monitoring tags, and flow-failure markers.
Get started
Requires PHP 8.4+, Laravel 13.17+, and Laravel AI 1.x.
composer require ibraheem-ghazi/laravel-ai-flow
php artisan migrate
Laravel discovers the provider automatically. Configure your AI provider and queue workers in your application.
Read the documentation for installation options and a complete product-catalog example.
- Installation
- Your first flow
- Workflow design
- Prompts and replacers
- AI generation
- Sharing results
- Progress
- Retries and idempotency
- Hooks and events
- Monitoring and failures
- API reference
License
MIT.