In this episode, we’ll guide you step by step through the process of upgrading a custom Sylius plugin from version 1.14 to 2.0. Using a brand management plugin as an example, you’ll learn how to adapt the codebase, directory structure, Symfony and Sylius configurations, and frontend to the latest standards.
We begin by reviewing the official UPGRADE files, proceed with dependency and configuration updates, and cover the migration of Twig templates, routing, grids, resource registration, and forms. You’ll also see how to use the latest Sylius Plugin Skeleton as a reference point and adjust your development environment to PHP 8.2 and Node.js 20+.
This episode is ideal for developers who already have a working plugin in Sylius 1.x and want to safely migrate it to version 2.0, preserving full functionality and aligning with the new API, Bootstrap-based frontend, and Twig Hooks system.