angyvolin / silex-workflow
Silex service provider for symfony/workflow component
Installs: 74 488
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 1
Forks: 1
Open Issues: 1
Requires
- silex/silex: ^2.0
- symfony/workflow: ^3.2
Requires (Dev)
- phpunit/phpunit: ^5.0
- symfony/twig-bridge: ^3.2
Suggests
- symfony/twig-bridge: For using Symfony Twig helper functions
This package is not auto-updated.
Last update: 2024-12-21 22:13:16 UTC
README
Silex 2.* service provider for Symfony Workflow component.
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
Tests
composer install
phpunit