Skip to content

Bundle for https://github.com/symfony/workflow component backported for Symfony 2.3+ from Symfony 3.2's FrameworkBundle

License

Notifications You must be signed in to change notification settings

fduch/workflow-bundle

Repository files navigation

Workflow-bundle backported for Symfony 2.3+

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

About

Bundle for https://github.com/symfony/workflow component backported for Symfony 2.3+ from Symfony 3.2's FrameworkBundle

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages