Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Symfony Workflow Style Laravel Package

alexislefebvre/symfony-workflow-style

View on GitHub
Deep Wiki
Context7

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

Packagist Latest Stable Version Latest Unstable Version

Builds: Build status

Install

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.

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

Example

Dot

Example

article workflow: marking_store.type is multiple_state

Labels and colors of one transition and one state are changed.

Example

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
nasirkhan/laravel-sharekit
directorytree/privacy-filter-classifier
directorytree/privacy-filter
datacore/hub-sdk
develia/commons
cuci/prototurk-sdk
cuci/prototurk-sdk-symfony
develia/geo-bundle
dreamzy/livewire-charts
touchestate-sdk/php-sdk
22h/doctrine-garbage-collection-bundle
agtp/agtp-php
agtp/mod-php
splash/sonata-admin
splash/metadata
splash/openapi
splash/scopes
splash/toolkit
testo/output-teamcity
testo/bridge-symfony