alexislefebvre/symfony-workflow-style
: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
composer require alexislefebvre/symfony-workflow-style
Register bundle in Kernel (if not already done automatically by Symfony Flex):
new \AlexisLefebvre\Bundle\SymfonyWorflowStyleBundle\SymfonyWorflowStyleBundle(),
Add style to your workflow, see examples.
Call command workflow:dump-with-style, it behaves as workflow:dump but it add colors to output.
YAML configuration used in examples: workflows.yaml
pull_request workflow: marking_store.type is single_stateStyle is added to the first transition:
And to travis and closed states:
article workflow: marking_store.type is multiple_stateLabels and colors of one transition and one state are changed.
How can I help you explore Laravel packages today?