Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork56
Durable workflow engine that allows users to track job status, orchestrate microservices and write long running persistent distributed workflows in PHP powered by Laravel Queues. Inspired by Temporal and Azure Durable Functions.
License
laravel-workflow/laravel-workflow
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Laravel Workflow is a package for the Laravel web framework that provides tools for defining and managing workflows and activities. A workflow is a series of interconnected activities that are executed in a specific order to achieve a desired result. Activities are individual tasks or pieces of logic that are executed as part of a workflow.
Laravel Workflow can be used to automate and manage complex processes, such as agentic workflows (AI-driven), financial transactions, data analysis, data pipelines, microservices, job tracking, user signup flows, sagas and other business processes. By using Laravel Workflow, developers can break down large, complex processes into smaller, modular units that can be easily maintained and updated.
Some key features and benefits of Laravel Workflow include:
- Support for defining workflows and activities using simple, declarative PHP classes.
- Tools for starting, monitoring, and managing workflows, including support for queuing and parallel execution.
- Built-in support for handling errors and retries, ensuring that workflows are executed reliably and consistently.
- Integration with Laravel's queue and event systems, allowing workflows to be executed asynchronously on worker servers.
- Extensive documentation and a growing community of developers who use and contribute to Laravel Workflow.
Documentation for Laravel Workflow can be found on theLaravel Workflow website.
You can find us in theGitHub discussions and also on ourDiscord channel.
There's also asample application that you can run directly from GitHub in your browser.
1. Create a workflow.
useWorkflow\ActivityStub;useWorkflow\Workflow;class MyWorkflowextends Workflow{publicfunctionexecute($name) {$result =yield ActivityStub::make(MyActivity::class,$name);return$result; }}
2. Create an activity.
useWorkflow\Activity;class MyActivityextends Activity{publicfunctionexecute($name) {return"Hello,{$name}!"; }}
3. Run the workflow.
useWorkflow\WorkflowStub;$workflow = WorkflowStub::make(MyWorkflow::class);$workflow->start('world');while ($workflow->running());$workflow->output();=>'Hello, world!'
Waterline is a separate UI that works nicely alongside Horizon. Think of Waterline as being to workflows what Horizon is to queues.
Refer tohttps://github.com/laravel-workflow/waterline for installation and configuration instructions.
"Laravel" is a registered trademark of Taylor Otwell. This project is not affiliated, associated, endorsed, or sponsored by Taylor Otwell, nor has it been reviewed, tested, or certified by Taylor Otwell. The use of the trademark "Laravel" is for informational and descriptive purposes only. Laravel Workflow is not officially related to the Laravel trademark or Taylor Otwell.
About
Durable workflow engine that allows users to track job status, orchestrate microservices and write long running persistent distributed workflows in PHP powered by Laravel Queues. Inspired by Temporal and Azure Durable Functions.
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Sponsor this project
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.