Description
In this episode, you’ll learn how to build a fully independent and reusable plugin in Sylius. Using the Brand entity as an example, we walk you through all the key steps: setting up the Plugin Skeleton, moving business logic out of the main app, configuring resources, forms, validation, grids, translation, and testing it in an isolated test application.
Covered topics:
- Installing the Sylius Plugin Skeleton and Docker setup
- Migrating entities (Brand, BrandTranslation) with XML Doctrine mapping and interface-based extensibility
- Resource registration via DependencyInjection
- Custom form types and grid fields
- State machine configuration and translation setup
- Custom constraints and validators
Running and testing the plugin in a standalone environmen