Using the Symfony Workflow Component as a State Machine for Ecommerce

By Michelle Sanver

The Symfony workflow component is a powerful tool that can be used in many ways; we used it to create a state machine for our ecommerce API. In this article, you’ll see how to use it to define the states for a workflow and use events to customize transitions between these states.

This article was originally published in the September 2018 issue of PHP Architect magazine. To read the complete article please subscribe or purchase the complete issue.

Related Articles

Leave a comment

Use the form below to leave a comment: