Download the PHP package vanta/temporal-bundle without Composer
On this page you can find all versions of the php package vanta/temporal-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Informations about the package temporal-bundle
Temporal Bundle
Temporal is the simple, scalable open source way to write and run reliable cloud applications.
Features
- Sentry: Send throwable events (if the
SentryBundle
use) - Doctrine: clear opened managers and check connection is still usable after each request (
if
DoctrineBundle
is use) - Serializer: Deserialize and serialize messages (if
Symfony/Serializer
is use, Recommend use)
Requirements:
- php >= 8.2
- symfony >= 6.0
Installation:
-
Connect recipes
-
Install package
-
Configure docker-compose-temporal.yml/Dockerfile
- Added Workflow/Activity. See examples to get started.
Doctrine integrations
If DoctrineBundle
is use, the following finalizer is available to you:
temporal.doctrine_ping_connection_<entity-mananger-name>.finalizer
temporal.doctrine_clear_entity_manager.finalizer
And interceptors:
temporal.doctrine_ping_connection_<entity-mananger-name>_activity_inbound.interceptor
Example config:
Sentry integrations
Install packages:
If SentryBundle
is use, the following interceptors is available to you:
temporal.sentry_workflow_outbound_calls.interceptor
temporal.sentry_activity_inbound.interceptor
Example config:
Worker Factory
By default the Temporal\WorkerFactory
is used to instantiate the workers. However when you are unit-testing you
may wish to override the default factory with the one provided by the 'Testing framework'
Example Config:
Assign worker
Running workflows and activities with different task queue
Add a AssignWorker
attribute to your Workflow or Activity with the name of the
worker. This Workflow or Activity will be processed by the specified worker.
Workflow example:
Activity example:
TODO
- E2E test
- documentation
All versions of temporal-bundle with dependencies
symfony/dependency-injection Version ^6.0|^7.0
symfony/http-kernel Version ^6.0|^7.0
symfony/runtime Version ^6.0|^7.0
temporal/sdk Version ^2.9