承接 chencha/processes 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

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

  1. Start Registration Process
  2. Run the given data through the validation belt
  • Run the subject through EmailValidation class
  1. 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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-03-30