Building an Admin Backend with Sonata Admin
summary
Sonata Admin with Symfony gets a working CRUD backend fast and can build an admin in ~15 minutes using composer plus the admin and ORM bundles and the generator command; it handles Doctrine relations, cascade persistence and batch actions, and scales from two entities to dozens. Expect about ~300 dependencies, spotty docs for advanced features, no built-in logout, and a hard limit that requires PHP 7.1 and doesn't support multiple-primary-key entities; styling and custom controllers are possible and were used to integrate legacy apps.
AI-written summary · about
chapters (14)
- 0:00Introduction and overview
- 1:10Why use Sonata Admin
- 2:37Key concepts explained
- 5:45Installation and setup
- 9:15Demo: Creating admin classes
- 12:42Demo: Admin dashboard features
- 16:17Service definitions and tags
- 18:03Customizing list and form views
- 22:11Styling and layout tweaks
- 22:33Handling entity associations
- 26:23Custom styling and integration
- 27:25Real-world use cases
- 28:07Known limitations and gotchas
- 29:48Q&A session
