PHPackages                             angyvolin/silex-workflow - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. angyvolin/silex-workflow

ActiveLibrary

angyvolin/silex-workflow
========================

Silex service provider for symfony/workflow component

v1.0.0(9y ago)974.5k1[1 PRs](https://github.com/angyvolin/silex-workflow/pulls)MITPHP

Since Feb 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/angyvolin/silex-workflow)[ Packagist](https://packagist.org/packages/angyvolin/silex-workflow)[ RSS](/packages/angyvolin-silex-workflow/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (4)Versions (10)Used By (0)

WorkflowServiceProvider [![SensioLabsInsight](https://camo.githubusercontent.com/29ce86dd3975a8d170ff62a094410f76d449437def4599c09b21d1e0a8d29fe1/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f63376237316361612d373236342d346538622d383562322d3837396336373562646535662f6d696e692e706e67)](https://insight.sensiolabs.com/projects/c7b71caa-7264-4e8b-85b2-879c675bde5f) [![License](https://camo.githubusercontent.com/c8fb9f369038ea781f8cfb5fc181eb0ea19f515a459990b887199a7574495ddb/68747470733a2f2f706f7365722e707567782e6f72672f616e6779766f6c696e2f73696c65782d776f726b666c6f772f6c6963656e7365)](https://packagist.org/packages/angyvolin/silex-workflow) [![Latest Stable Version](https://camo.githubusercontent.com/5d272314dfaf40e3368471b41f218a0089cdba06d0d0e15771fdac8d7de9b76d/68747470733a2f2f706f7365722e707567782e6f72672f616e6779766f6c696e2f73696c65782d776f726b666c6f772f762f737461626c65)](https://packagist.org/packages/angyvolin/silex-workflow) [![Total Downloads](https://camo.githubusercontent.com/1bfde80a9b58985520bb78c28aa3d9b4464630fba643244a380410ad9d8918a3/68747470733a2f2f706f7365722e707567782e6f72672f616e6779766f6c696e2f73696c65782d776f726b666c6f772f646f776e6c6f616473)](https://packagist.org/packages/angyvolin/silex-workflow)
======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#workflowserviceprovider----)

Silex 2.\* service provider for Symfony Workflow component.

[![silex-workflow-image](https://github.com/angyvolin/silex-workflow-demo/raw/master/web/img/workflow.png)](https://github.com/angyvolin/silex-workflow-demo)

About
-----

[](#about)

The Workflow component provides tools for managing a workflow or finite state machine. [symfony/workflow](https://github.com/symfony/workflow) was introduced in Symfony 3.2.

Installation
------------

[](#installation)

`composer require angyvolin/silex-worflow`

> To be able to use twig helpers you also require a [symfony/twig-bridge](https://github.com/symfony/twig-bridge) package:
>
> `composer require symfony/twig-bridge`

Configuration
-------------

[](#configuration)

Register the service and pass workflow configuration:

```
