定制 aboutcoders/workflow-bundle 二次开发

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

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

aboutcoders/workflow-bundle

Composer 安装命令:

composer require aboutcoders/workflow-bundle

包简介

A symfony bundle that allows to define and manage workflows

README 文档

README

A symfony bundle that allows define and manage workflows.

Configuration

Add the bundle:

{
    "require": {
        "aboutcoders/workflow-bundle": "dev-master"
    }
}

Enable the bundles in the kernel:

# app/AppKernel.php
public function registerBundles()
{
    $bundles = array(
        // ...
        new Knp\Bundle\MenuBundle\KnpMenuBundle(),
        new Abc\Bundle\WorkflowBundle\AbcWorkflowBundle(),
        // ...
    );
}

Configure routing

# app/config/routing.yml
abc_workflow_tasks:
    resource: "@AbcWorkflowBundle/Resources/config/routing.yml"
    prefix:   /

If you like to display workflow GUI you have to import optional routing rules

# app/config/routing.yml
abc_workflow_workflows:
    resource: "@AbcWorkflowBundle/Resources/config/routing_optional.yml"
    prefix:   /

Follow the installation and configuration instructions of the third party bundles:

Configure the bundle

# app/config/config.yml
abc_workflow:
  db_driver: orm

Usage

Display workflow configuration GUI

{{ workflow_configuration(workflowEntity) }}

Display workflow history GUI

{{ workflow_history(workflowEntity) }}

Get workflow history via AJAX

{{ path('execution_history', { 'id': workflowId }) }}

统计信息

  • 总下载量: 15
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: AboutCoders
  • 更新时间: 2018-07-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固