fduch / workflow-bundle
workflow bundle for https://github.com/symfony/workflow component backported for Symfony 2.3+
Installs: 198 595
Dependents: 0
Suggesters: 0
Security: 0
Stars: 41
Watchers: 6
Forks: 5
Open Issues: 0
Requires
- php: >=5.5.9
- symfony/console: ^2.3|^3.0
- symfony/framework-bundle: ^2.3|^3.0
- symfony/workflow: ^3.2
Requires (Dev)
- symfony/yaml: ^2.0.5|^3.0
- twig/twig: ^1.11
Conflicts
- symfony/framework-bundle: >=3.2
This package is not auto-updated.
Last update: 2024-12-21 20:30:41 UTC
README
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
norconflict
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