gplanchat / durable
PHP library for durable execution: workflows, activities, event journal, and transports (HttpKernel integration lives in the bundle).
Requires
- php: >=8.2
- psr/cache: ^3.0
Requires (Dev)
- phpunit/phpunit: ^11.0
Suggests
- gplanchat/durable-bridge-dbal: SQL backend: durable execution on one database, no cluster (DUR030)
- gplanchat/durable-bridge-temporal: Temporal gRPC backend (requires ext-grpc)
- gplanchat/durable-phpstan: Optional PHPStan extension: resolves ActivityStub and ChildWorkflowStub calls from their typed contract (DUR038)
- phpunit/phpunit: Required by the shipped test helpers (Testing\DurableTestCase, Testing\WorkflowTestEnvironment) and the conformance suites (Testing\EventStoreConformanceTestCase, DUR041)
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-09-03 21:00:10 UTC
README
PHP library for durable execution: workflows, activities, append-only event journal, replay, and transports. HTTP / Symfony integration lives in gplanchat/durable-bundle.
Read-only mirror. This repository is a subtree-split of gplanchat/durable-dev, published so Composer can require this package on its own. Issues and pull requests are disabled here — open them on the monorepo.
The tests are in the monorepo, not here. This split carries source only. What covers it is
tests/unit/Durable/in the monorepo, run by itsunitsuite.Documentation: durable.rocks.
Documentation
- User guide: durable.rocks/docs (published via Hugo; see
documentation/HUGO.md) - Architecture (contributors):
documentation/INDEX.md— decisions prefixed DUR underdocumentation/adr/
Highlights
- DUR003 — Fiber-based replay, execution engine, awaitables
- DUR004 — Activity stubs and activity methods
- DUR005 — Temporal and in-memory backends
- DUR007 — Serialization (Symfony Serializer where applicable)
Optional static analysis
Composer suggest lists optional PHPStan / Psalm extensions (see DUR012 in the ADR index).
Install
composer require gplanchat/durable
Use gplanchat/durable-bundle for Symfony applications.