定制 xepozz/yii3-temporal-bridge 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

xepozz/yii3-temporal-bridge

Composer 安装命令:

composer require xepozz/yii3-temporal-bridge

包简介

README 文档

README

Bridge package to use Temporal with Yii3 easily.

Latest Stable Version Total Downloads phpunit codecov

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
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-12-12