Download the PHP package alexislefebvre/symfony-workflow-style without Composer
On this page you can find all versions of the php package alexislefebvre/symfony-workflow-style. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alexislefebvre/symfony-workflow-style
More information about alexislefebvre/symfony-workflow-style
Files in alexislefebvre/symfony-workflow-style
Package symfony-workflow-style
Short Description Symfony bundle adding style to Symfony workflow dumps
License MIT
Homepage https://github.com/alexislefebvre/symfony-workflow-style
Informations about the package symfony-workflow-style
symfony-workflow-style-bundle
:warning: This code has been merged in https://github.com/symfony/symfony/pull/29538, install Symfony 4.3+ to use this feature.
Add style to Symfony workflow dumps
Install
Register bundle in Kernel
(if not already done automatically by Symfony Flex):
Add style to your workflow, see examples.
Call command workflow:dump-with-style
, it behaves as workflow:dump
but it add colors to output.
Examples
YAML configuration used in examples: workflows.yaml
pull_request
workflow: marking_store.type
is single_state
Style is added to the first transition:
- arrow has custom color
- label has custom text
- label has custom color
And to travis and closed states:
- background color is changed for travis and closed states
- description is added to travis node (only for PUML format)
PUML
Dot
article
workflow: marking_store.type
is multiple_state
Labels and colors of one transition and one state are changed.
All versions of symfony-workflow-style with dependencies
symfony/config Version ^4.1
symfony/console Version ^4.1
symfony/dependency-injection Version ^4.1
symfony/framework-bundle Version ^4.1
symfony/http-kernel Version ^4.1
symfony/workflow Version ^4.1
symfony/yaml Version ^4.1