chencha/processes
最新稳定版本:0.1.0
Composer 安装命令:
composer require chencha/processes
包简介
Enables definition of a process in a system via json file
README 文档
README
##Processes dispatcher
This package is an extension of the chencha/conveyor package found here (https://github.com/prodeveloper/conveyor) This system parses a json file describing a process, compiles it to a chencha/conveyor process and runs it.
A sample process description would be:
{
"name": "Registration",
"belts": [
{
"validation": ["EmailValidation"],
"persistence": [SaveInDatabase","UpdateElastic"]
}
]
}
This would be translated to the following steps
- Start Registration Process
- Run the given data through the validation belt
- Run the subject through EmailValidation class
- If no StopBeltException is thrown then run subject through persistence belt
- Run the subject through SaveInDatabase class
- Run the subject through UpdateElastic class
统计信息
- 总下载量: 16
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2015-03-30