Download the PHP package durable-workflow/sdk without Composer
On this page you can find all versions of the php package durable-workflow/sdk. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download durable-workflow/sdk
More information about durable-workflow/sdk
Files in durable-workflow/sdk
Package sdk
Short Description Framework-neutral PHP client and worker SDK for the Durable Workflow server
License MIT
Homepage https://durable-workflow.com
Informations about the package sdk
Durable Workflow PHP SDK
The first-party PHP client and worker SDK for Durable Workflow Cloud and self-hosted Durable Workflow Server. Use it from plain PHP, Laravel, or Symfony to run durable workflows outside the application process while keeping framework-native configuration, dependency injection, commands, logging, and tests.
Install
The SDK requires PHP 8.1 or newer. It uses the official apache/avro package
for portable payloads and accepts any PSR-18 HTTP client.
Choose Your Path
| Starting point | Recommended guide |
|---|---|
| Plain PHP client or worker | First workflow |
| Laravel v1 or v2 embedded | Choose a Laravel ownership model |
| Laravel service mode | Laravel service-mode bridge |
| Symfony service mode | Symfony bundle |
| Runtime authentication | Authentication guide |
Laravel applications can keep Durable Workflow embedded or move execution to Cloud or Server. The service-mode bridge supplies container bindings, config, an Artisan worker command, diagnostics, a facade, and a test fake. Symfony gets the same application-shaped experience through its bundle and Console worker.
Author a Workflow
Handlers can be ordinary attributed classes resolved by the worker container:
Register the classes on a task queue and start polling:
Start the workflow from a client process using a client-role credential:
For Cloud, use the complete namespace runtime URL exactly as provisioned. For
self-hosted Server, use its origin such as http://localhost:8080. Keep client
and worker credentials in separate processes.
The complete plain PHP quickstart includes the three runnable files, environment setup, expected output, and common failure diagnostics.
Capabilities
- Workflows, activities, child workflows, timers, retries, and heartbeats
- Signals, queries, updates, condition waits, and message streams
- Parallel work, sagas, cancellation, continue-as-new, and version markers
- Schedules, search attributes, memo, external payloads, and worker versioning
- Replay testing, in-memory client fakes, Laravel and Symfony test helpers
- Stable workflow handles and machine-readable runtime diagnostics
See the complete SDK reference for control-plane APIs, worker configuration, Message Streams, framework setup, and testing examples. The generated API reference documents every public class and method.
Development
See CONTRIBUTING.md for contribution and validation details.
License
MIT
All versions of sdk with dependencies
apache/avro Version ^1.12
composer-runtime-api Version ^2.0
ext-json Version *
guzzlehttp/guzzle Version ^7.8|^8.0
psr/container Version ^1.1|^2.0
psr/http-client Version ^1.0
psr/http-factory Version ^1.0
psr/http-message Version ^1.1|^2.0
psr/log Version ^1.1|^2.0|^3.0