Skip to content

Silex service provider for symfony/workflow component

License

Notifications You must be signed in to change notification settings

angyvolin/silex-workflow

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

WorkflowServiceProvider SensioLabsInsight License Latest Stable Version Total Downloads

Silex 2.* service provider for Symfony Workflow component.

silex-workflow-image

About

The Workflow component provides tools for managing a workflow or finite state machine. symfony/workflow was introduced in Symfony 3.2.

Installation

composer require angyvolin/silex-worflow

To be able to use twig helpers you also require a symfony/twig-bridge package:

composer require symfony/twig-bridge

Configuration

Register the service and pass workflow configuration:

<?php

use Angyvolin\Provider\WorkflowServiceProvider;

$app->register(new WorkflowServiceProvider(), array(
    'workflow.config' => $workflowConfig,
));

Usage

See silex-workflow-demo

Tests

composer install
phpunit

License

MIT License

About

Silex service provider for symfony/workflow component

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages