An open API service providing repository metadata for many open source software ecosystems.

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,086
Forks: 59
Open issues: 0

License: mit
Language: PHP
Size: 328 KB
Dependencies parsed at: Pending

Created at: over 3 years ago
Updated at: 23 days ago
Pushed at: 23 days ago
Last synced at: 23 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

Releases
0.0.37

0.0.37

Check if replaying before starting child workflow.

over 2 years ago
Download
0.0.36

0.0.36

over 2 years ago
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';
    }
}
over 2 years ago
Download
0.0.34

0.0.34

Activities will now throw an exception inside of the workflow which will allow you to catch it rather than failing the workflow automatically. If you don’t catch the exception then the workflow will fail like usual.

over 2 years ago
Download
0.0.33

0.0.33

Fix issue with not respecting queue config

over 2 years ago
Download
0.0.32

0.0.32

Fix signal timings.

over 2 years ago
Download
0.0.31

0.0.31

  • Fixes issue with child workflow timers
  • Sets queue and connection for signal to the same as workflow
over 2 years ago
Download
0.0.29

0.0.29

Filter out all unserializable.

over 2 years ago
Download
0.0.28

0.0.28

Minor fix for logging file exception occurred in.

over 2 years ago
Download