xepozz/yii3-temporal-bridge
Composer 安装命令:
composer require xepozz/yii3-temporal-bridge
包简介
README 文档
README
Bridge package to use Temporal with Yii3 easily.
Installation
composer require xepozz/yii3-temporal-bridge
Usage
Basic concept
Use yiisoft/classifier package to automatically register workflows and activities.
Add tag temporal.workflow for each new workflow and temporal.activity for each new activity.
Example how to configure workflows and activities via tags near the class definition:
return [ // ... \App\Temporal\Workflow\LongWorkflow::class => [ '__construct()' => [ 'param' => 'value', // ... ], 'tags' => ['temporal.workflow'], // Add this line ], \App\Temporal\Activity\CommonActivity::class => [ 'tags' => ['temporal.activity'], // Add this line ], ];
统计信息
- 总下载量: 0
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2024-12-12