For the complete documentation index, see llms.txt. This page is also available as Markdown.

Configuring a state machine

You can either use Symfony workflow or Winzou state machine. The recommended way is to use the Symfony workflow component.

If only Symfony workflow is on your requirements you have nothing to do.

But you can configure it explicitly:

Configuring Symfony workflow as state machine`

sylius_resource:
    settings:
        state_machine_component: symfony

Configuring Winzou as state machine`

If Winzou state machine is on your requirements you have nothing to do even if Symfony workflow is on your requirements too.

But you can configure it explicitly:

sylius_resource:
    settings:
        state_machine_component: winzou

Applying a transition`

You can create a route to apply any transition

Last updated

Was this helpful?