In Sylius, almost every existing Resource already comes with its own repository — for example, the ProductRepository. In many cases, these repositories are already extended within the Sylius Core itself. In this episode, we’ll learn how to properly extend and modify existing repositories in Sylius.
Create your first Sylius Resource by building a Brand entity and explore what Sylius gives you out of the box, including factories, repositories, and resource debugging tools.
Expose a custom Brand resource in the Sylius admin, configure CRUD routes with a single routing definition, and explore how ResourceController works with Twig templates.
Learn how Sylius uses an event-driven approach, which events are dispatched by the ResourceController, and how to extend behavior using event listeners.
Learn how to create products in Sylius, understand the difference between simple and configurable products, and explore product configuration in the admin panel.