jingshou / yii2-workflow
yii2 workflow
1.0.0
2017-12-11 06:02 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-03-17 01:43:16 UTC
README
工作流程
=========== 工作流程管理控件扩展
Installation
The preferred way to install this extension is through composer.
Either run
php composer.phar require --prefer-dist jingshou/yii2-workflow "*"
or add
"jingshou/yii2-workflow": "*"
to the require section of your composer.json
file.
Usage
Once the extension is installed, simply use it in your code by :
# 工作流程列表 /Workflow/workflow/index
配置说明
请在配置文件加入模块,以调用工作流程管理controller
... 'Workflow' => [ 'class' => 'anlewo\workflow\Module', ], ...
请在配置文件加入组件配置,以调用工作流程管理Component
... ... ...
请到vendor的yiisoft扩展添加映射关系
'anlewo/yii2-workflow' => array ( 'name' => 'jingshou/yii2-workflow', 'version' => '1.0.0.0', 'alias' => array ( '@anlewo/workflow' => $vendorDir . '/jingshou/yii2-workflow', ), ),