Download the PHP package highcore/temporal-bundle without Composer
On this page you can find all versions of the php package highcore/temporal-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download highcore/temporal-bundle
More information about highcore/temporal-bundle
Files in highcore/temporal-bundle
Package temporal-bundle
Short Description Command Runner and Activity Registry for Temporal
License MIT
Informations about the package temporal-bundle
Symfony Temporal Bundle
Description
This is a wrapper package for the official PHP SDK with Activity Registry and full-configurable worker and workflow client.
Table of Contents (Optional)
If your README is long, add a table of contents to make it easy for users to find what they need.
- Installation
- Usage
- Credits
- License
Installation
Use this command to install
composer require highcore/temporal-bundle
Usage
Create config/workflows.php
And register here your workflows, like a config/bundles.php for symfony
Example config/workflows.php:
Create rr.yaml:
Example configuration:
Example activity interface:
Example activity:
Example workflow interface:
Example workflow:
Register with symfony service container:
Now you can run:
And call workflow by:
More php examples you can find here
Credits
License
MIT License
Copyright (c) 2023 Highcore.org
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
All versions of temporal-bundle with dependencies
ext-json Version *
temporal/sdk Version ^2.10
symfony/dependency-injection Version ^6.4 || ^7.0
symfony/http-kernel Version ^6.4 || ^7.0
symfony/config Version ^6.4 || ^7.0
symfony/console Version ^6.4 || ^7.0
symfony/serializer Version ^6.4 || ^7.0
symfony/property-info Version ^6.4 || ^7.0