fduch/workflow-bundle

workflow bundle for https://github.com/symfony/workflow component backported for Symfony 2.3+

2.0.2 2016-12-12 11:05 UTC

This package is not auto-updated.

Last update: 2024-11-09 19:51:11 UTC


README

Build Status

Bundle for https://github.com/symfony/workflow component backported for Symfony 2.3+ and <3.2 from Symfony 3.2's FrameworkBundle. The main difference with original workflow management in Symfony 3.2+ applications is that workflow configuration must be set under workflow section instead of framework section in Symfony 3.2+. Such difference is caused by the fact that workflow configurations are handled by separate WorkflowBundle introduced by this package instead of FrameworkBundle in Symfony 3.2+.

This version of the Bundle uses stable 3.2+ version of the symfony/workflow component. Due to BC-breaks introduced in Workflow component and FrameworkBundle inside 3.2-branch (symfony/symfony#20462) please use (1.x) branch of the fduch/workflow-bundle with symfony/workflow component in old versions up to cdddaeec794e4096f2f80f0298fc1a4b5bfacb83 (non-including). Unfortunately there is no way to define such version constraint restrictions on the composer.json level: it can be done nether with require nor conflict sections, so you should check it manually.

Usage

Please install the bundle using composer:

composer require fduch/workflow-bundle

and register the bundle in your AppKernel class:

public function registerBundles()
{
    $bundles = array(
        // ...
        new \Symfony\Bundle\WorkflowBundle\WorkflowBundle(),
    );
}

You can also check project fduch/symfony-standard-workflow to see application example based on Symfony Standard Edition with workflow configured using fduch/workflow-bundle