Description
In this episode, you'll learn how to create a custom admin grid in Sylius for the Brand entity. Grids are the core of Sylius Admin, allowing powerful collection management with pagination, filtering, sorting, and actions.
You’ll learn:
- How to configure a new grid sylius_admin_brand using Doctrine ORM in YAML,
- How to define fields like ID, name, code, created/updated dates, and active status,
- How to add actions for creating, editing, deleting, and bulk deleting entries,
- How to enable filters (by name, code, status, and dates),
- How to configure sorting and default order,
- How to bind the grid to the index route of the Brand section.
The result is a clean, user-friendly, and fully functional admin grid for managing brands – with no custom controllers or repositories required. This episode highlights the power of Sylius Grid Bundle for building scalable admin tools quickly and cleanly.