semitexa/workflow
最新稳定版本:2026.05.08.1640
Composer 安装命令:
composer require semitexa/workflow
包简介
Semitexa Workflow — stateful business process orchestration with code-defined state machines, transition guards, side-effects, history, and scheduler integration
README 文档
README
Stateful business process orchestration with code-defined state machines, transition guards, and scheduler integration.
Purpose
Models business processes as state machines with explicit transitions. Each workflow definition declares states, allowed transitions, guard conditions, and side-effects. History is persisted via ORM and async transitions are delegated to the Scheduler.
Role in Semitexa
Depends on Core, ORM, Tenancy, and Scheduler. Used by application modules that need formalized multi-step processes with auditable state progression and conditional branching.
Key Features
#[AsWorkflowDefinition]attribute for workflow registration- Code-defined state machines with typed transitions
- Transition guards for conditional progression
- Side-effects and callbacks on state changes
- Full transition history via ORM
- Scheduler integration for delayed/async transitions
- Event payloads:
WorkflowCompleted,WorkflowFailed,WorkflowTransitionApplied,WorkflowTransitionRejected
统计信息
- 总下载量: 78
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 3
- 依赖项目数: 2
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2026-03-23