Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
W

workflow

> 后端框架
Open source

Core package for defining and running durable workflows and activities. Supports long-running persistent workflows, retries, queues, parallel execution, workflo

1.2K stars0 likes2 views
WebsiteGitHub

About

Core package for defining and running durable workflows and activities. Supports long-running persistent workflows, retries, queues, parallel execution, workflo

Durable Workflow for Laravel

Durable Workflow is the embedded Laravel runtime for durable execution. Write long-running workflows as ordinary PHP, keep completed work recorded through worker restarts and application deploys, and use Laravel's queues, cache, and database as the runtime.

This package also provides the orchestration engine hosted by Durable Workflow Server. Use the PHP SDK with Server or Durable Workflow Cloud when workers need to run outside the Laravel application or across PHP, Python, and Rust.

Install

bash
composer require durable-workflow/workflow:^2.0
php artisan migrate

Run a Laravel queue worker or Horizon to execute workflows and activities:

bash
php artisan queue:work

Your First Workflow

php
start('world');

echo $workflow->output(); // Hello, world!

Workflow code can coordinate activities, timers, signals, queries, updates, child workflows, sagas, cancellation, retries, parallel work, side effects, continue-as-new, search attributes, memo, and message streams. The runtime persists execution history so replay can resume after process or host failure without repeating completed activities.

Choose a Deployment

Deployment Use it when Runtime owner
Embedded Laravel Workflows and activities live inside one Laravel application. Your application owns persistence and queue execution.
Self-hosted Server Workers run independently or in multiple languages. Your team operates Server, MySQL, Redis, and optional Waterline.
Durable Workflow Cloud You want a managed runtime for PHP, Python, and Rust workers. Durable Workflow operates the runtime and persistence.

Embedded runs remain owned by the Laravel application. Moving new work to Server or Cloud does not reinterpret existing embedded history.

Learn More

  • Embedded installation
  • Embedded feature guides
  • Configuration reference
  • Deployment modes
  • Monitoring with Waterline
  • Runnable Sample App

Questions and design discussions are welcome in GitHub Discussions and Discord.

Sponsors

Durable Workflow is sustained by contributors and sponsors:

  • Andriy Karpishyn
  • Freispace Resource Scheduling
  • Translate a Book

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHPbackground-jobsbpmbpmndurable-functions

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category后端框架
PricingOpen source

> Related tools

N
Node.js
基于 V8 的 JavaScript 运行时
D
Django
Python 高级 Web 框架
S
Spring Boot
Java 生态主流微服务框架