Description
A package for the Laravel web framework that provides tools for defining and managing workflows and activities.
1. Create a workflow
use function Workflow\activity;use Workflow\Workflow; class MyWorkflow extends Workflow{ public function execute($name) { $result = yield activity(MyActivity::class, $name); return $result; }}
2. Create an activity
use Workflow\Activity; class MyActivity extends Activity{ public function execute($name) { return "Hello, {$name}!"; }}
3. Run the workflow
use Workflow\WorkflowStub; $workflow = WorkflowStub::make(MyWorkflow::class);$workflow->start('world');
$workflow->output();=> 'Hello, world!'
Recent Courses on Laravel Daily
AI Agents/IDEs for Laravel: May 2026 (Claude Code, Codex, OpenCode, etc)
7 lessons
52 min
Testing in Laravel 13 For Beginners
26 lessons
1 h 41 min read
Laravel 13 Eloquent: Expert Level
41 lessons
1 h 34 min