# durable-workflow/workflow

Core package for defining and running durable workflows and activities. Supports long-running persistent workflows, retries, queues, parallel execution, workflow monitoring, dedicated storage connections, and orchestration for microservices, data pipelines, sagas, agentic workflows, and other complex business processes.

Repository: https://github.com/durable-workflow/workflow
Canonical: https://ross.abutalabs.com/products/durable-workflow-workflow
Homepage: https://durable-workflow.com
Language: PHP
License: MIT
License Family: permissive
Topics: laravel, php, background-jobs, durable-functions, orchestration, queueing, workflows, jobs, microservices, workflow-engine, bpm, bpmn, workflow, durable-execution, durable-workflow, saga-pattern, workflow-automation
Last push: 2026-09-02T19:24:47+00:00

## Health v2 (maintenance only)
Score: 100/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 100, release rhythm 100, longevity 100
- inputs: {"age_days": 1651, "days_push": 0, "days_rel": 0, "gap_med": 2, "n_releases_24m": 60}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1237, forks 78 (observed 2026-09-03T02:15:11.475089+00:00)

## What it is
Durable Workflow (formerly Laravel Workflow) is a Laravel-native durable workflow engine for defining and running long-running, fault-tolerant workflows and activities in PHP. It persists orchestration state in the application's database, schedules work through Laravel queues, and supports retries, timers, signals, parallel execution, and sagas.

## Use cases
- orchestrate long-running multi-step business processes in Laravel
- build AI agentic workflows with durable state
- implement saga patterns for distributed transactions
- run data pipelines that survive crashes and restarts
- wait for human approval or webhook events mid-workflow
- coordinate microservices with retries and parallel activities

## When to choose
- you use Laravel and need orchestration that persists progress across restarts
- your process spans minutes, hours, or days and must wait on external events
- you need reliable retries and crash recovery without duplicating work
- you want workflow state stored in your own database using Laravel queues

## When to avoid
- you only need a single independent background task - a Laravel queued job suffices
- you need a language-agnostic runtime outside PHP - consider the 2.0 Server or other engines
- your application does not use Laravel or a lock-capable cache driver

## Facets
- artifact type: library
- maturity: active
- function: workflow-automation, scheduling, message-queue, microservices, agent-framework
- domain: backend, developer-tools, web-development
- platform: php, self-hosted
- tags: durable-execution, laravel, saga-pattern, workflow-engine, orchestration, event-sourcing, background-jobs, automation, ai-agents, web-server

## Member repositories
- durable-workflow/workflow (main) score 100

## Provenance
- Observed fields: from GitHub, fetched 2026-09-03T02:15:11.475089+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T08:22:04.976586+00:00, confidence not recorded.
  - readme: https://github.com/durable-workflow/workflow (fetched 2026-09-03T02:15:11.475089+00:00, sha 187ced432108)
  - homepage: https://durable-workflow.com (fetched 2026-08-29T12:21:29.112557+00:00, sha 748e7920d2d7)
  - site_page: https://durable-workflow.com/docs/introduction (fetched 2026-08-29T12:21:29.121403+00:00, sha b8c7df139a28)
  - site_page: https://durable-workflow.com/docs/2.0/introduction (fetched 2026-08-29T12:21:29.123328+00:00, sha 5d640216c639)
  - site_page: https://durable-workflow.com/docs/installation (fetched 2026-08-29T12:21:29.125377+00:00, sha 5b8f86863a63)
- Data as of 2026-08-30T08:39:29.467469+00:00.
