spiral / temporal-bridge
Temporal integration package for Spiral Framework
Fund package maintenance!
Requires
- php: >=8.1
- spiral/attributes: ^2.8 || ^3.1.5
- spiral/boot: ^3.14
- spiral/core: ^3.14
- spiral/roadrunner-bridge: ^3.7 || ^4.0
- spiral/scaffolder: ^3.14
- spiral/tokenizer: ^3.14
- temporal/sdk: ^2.13
Requires (Dev)
- spiral/code-style: ^2.2.0
- spiral/dumper: ^3.3
- spiral/framework: ^3.14
- spiral/testing: ^2.8
- vimeo/psalm: ^6.8
Suggests
None
Provides
None
Conflicts
None
Replaces
None
- 3.x-dev
- 3.3.0
- 3.2.2
- 3.2.1
- 3.2.0
- 3.1.3
- 3.1.2
- 3.1.1
- 3.1.0
- 3.0.0
- 2.2.0
- 2.1.1
- 2.1.0
- 2.0.x-dev
- 2.0.0
- 2.0-beta2
- 2.0-beta1
- 2.0-beta
- 1.3.0
- 1.2.0
- 1.1.0
- 1.0.0
- dev-release-please--branches--3.x--components--spiral/temporal-bridge
- dev-fix/parent-class-declarations
- dev-build/deps
- dev-ci/workflows
- dev-update-rr-bridge-version
- dev-hotfix/running-workflow
- dev-master
- dev-feature/activity-factory
This package is auto-updated.
Last update: 2026-11-09 05:17:13 UTC
README
Temporal integration for Spiral Framework
This package connects a Spiral application to Temporal, the open source engine for durable, fault-tolerant workflows. It configures the Temporal clients, registers your workflows and activities in RoadRunner workers and adds console commands to inspect and generate them.
Get Started
Installation
composer require spiral/temporal-bridge
Requirements:
- PHP 8.2+
- Spiral Framework 3
- RoadRunner 3 with the Temporal plugin
- Extension
grpcfor client calls,protobuf(recommended)
Configuration
Add the bootloader to the application's bootloader list:
protected const LOAD = [ \Spiral\TemporalBridge\Bootloader\TemporalBridgeBootloader::class, // ... ];
Without an app/config/temporal.php file the bridge reads the environment:
| Variable | Default | Description |
|---|---|---|
TEMPORAL_ADDRESS |
127.0.0.1:7233 |
Address of the Temporal server |
TEMPORAL_CONNECTION |
default |
Name of the default client |
TEMPORAL_TASK_QUEUE |
default |
Task queue of workflows without a worker |
See the documentation for the config file, workers,
interceptors and the temporal:info, create:workflow and create:activity commands.
