When creating a new Sylius Resource, you get a repository out of the box. However, very often we need more than that. In this episode, we’ll see how to properly create and use a custom repository 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.