GitHub / laravel-workflow / laravel-workflow
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.
JSON API: http://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/laravel-workflow%2Flaravel-workflow
PURL: pkg:github/laravel-workflow/laravel-workflow
Stars: 1,097
Forks: 59
Open issues: 0
License: mit
Language: PHP
Size: 356 KB
Dependencies parsed at: Pending
Created at: almost 4 years ago
Updated at: 3 days ago
Pushed at: 3 days ago
Last synced at: 3 days ago
Commit Stats
Commits: 190
Authors: 2
Mean commits per author: 95.0
Development Distribution Score: 0.084
More commit stats: https://commits.ecosyste.ms/hosts/GitHub/repositories/laravel-workflow/laravel-workflow
Topics: background-jobs, bpm, bpmn, durable-functions, jobs, laravel, microservices, orchestration, php, queueing, status, workflow, workflow-engine, workflows
Funding Links https://github.com/sponsors/laravel-workflow
1.0.0
1.0.0
Laravel Workflow has reached its first major milestone, with version 1.0.0 now available. We believe this version signals readiness for wider production usage.
Stable API
Reaching version 1.0.0 means that Laravel Workflow’s API is now considered stable. The features and APIs provided in this version are well-tested and ready for use in production environments.
Bug Fixes
This release includes a fix for a minor bug present in version 0.0.38. We have been hard at work to ensure the stability of Laravel Workflow and to provide the most reliable experience possible.
Upgrading
While the changes in this release are mostly internal, we encourage all users to upgrade to version 1.0.0 to benefit from the bug fix and the more stable, production-ready codebase.
You can upgrade by running the following commands:
composer require laravel-workflow/laravel-workflow
composer update laravel-workflow/laravel-workflow
We are grateful to all our users and contributors who have helped us reach this milestone. We look forward to further collaboration and development of Laravel Workflow in the future.
Support
For any issues or queries related to this release, please refer to the Laravel Workflow GitHub repository or join us on our Discord channel.
Documentation
The latest documentation for Laravel Workflow can be found on our official website. Please refer to it for detailed instructions and examples on how to use Laravel Workflow.
We hope you enjoy the improvements in Laravel Workflow 1.0.0 and we’re excited to hear your feedback!
Download
0.0.35
0.0.35
Adds sagas.
class SagaWorkflow extends Workflow
{
public function execute()
{
try {
yield ActivityStub::make(SimpleActivity::class);
$this->addCompensation(fn () => ActivityStub::make(SimpleUndoActivity::class));
yield ActivityStub::make(SimpleOtherActivity::class, 'other');
$this->addCompensation(fn () => ActivityStub::make(SimpleUndoOtherActivity::class, 'other'));
} catch (Throwable $th) {
yield from $this->compensate();
throw $th;
}
return 'workflow';
}
}
Download
Download