Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

SymfonyCasts

EasyAdmin! For an Awesomely Powerful Admin Area

via SymfonyCasts

Overview

So... your site needs an admin area. Do yourself a favor and skip all that custom code and jump straight into EasyAdmin bundle. Why #1? Because it'll take you a fraction of the time to build what you need. Why #2? Because it'll be even better than what you would build by hand, including built-in widgets for auto-completion and toggling boolean fields. It's... pretty sweet. In this tutorial, we'll learn how to admin interfaces that are highly customized: Install & Bootstrapping the bundle Dashboards! CRUD controllers! All about Fields Customize everything: what properties to display, how they render, help messages, sorting, filters... and more! Override templates... at many different levels Take control of your forms Handling security Adding custom actions (and removing others) Updating and configuring the menu (like adding a link to kitten videos!) Hooking into events to do things before or after an entity is saved Adding custom CSS/JS behaviors to the page with Webpack Encore ... and more So let's do a little bit of work for a lotta bit results (note: "lotta bit" is a term I just made up). Tip Love EasyAdmin? Consider sponsoring its maintainer Javier Eguiluz!

Syllabus

  • 01. Installing EasyAdmin
  • 02. Admin Dashboard
  • 03. Hello CRUD Controller
  • 04. Global vs CRUD-Specific Configuration
  • 05. Controlling the Dashboard Menu
  • 06. Assets: Custom CSS and JS
  • 07. Configuring Fields
  • 08. Fields on some Pages, not Others
  • 09. Deep Field Configuration
  • 10. Upload Fields
  • 11. Controlling the "Formatted Value"
  • 12. The AssociationField
  • 13. Auto-complete Association Field & Controlling the Query
  • 14. AssociationField for a "Many" Collection
  • 15. The Field Configurator System
  • 16. Field Configurator Logic
  • 17. Overriding Field Templates
  • 18. Creating a Custom Field
  • 19. configureCrud()
  • 20. Custom Field JavaScript
  • 21. Custom Stimulus JavaScript Controller
  • 22. The Dashboard Page
  • 23. Service Action Injection
  • 24. Override all the Templates!
  • 25. Permissions
  • 26. Restricting Access to an Entire Crud Section
  • 27. Entity & Field Permissions
  • 28. Security Voter & Entity Permissions
  • 29. The Filter System
  • 30. Multiple Cruds for a Single Entity?
  • 31. Extending with Events
  • 32. Having Fun with the Menu
  • 33. Conditionally Disabling an Action
  • 34. Dynamic Disable an Action & AdminContext
  • 35. Simple Custom GET Action
  • 36. True Custom Action
  • 37. Custom Controller & Generating Admin URLs
  • 38. A Global "Export" Action
  • 39. Linking to EasyAdmin from Twig
  • 40. Form Panels

Taught by

Victor Bocharsky

Reviews

5.0 rating, based on 2 Class Central reviews

Start your review of EasyAdmin! For an Awesomely Powerful Admin Area

  • Originally, I thought that EasyAdmin was similar to PhpMyAdmin, but designed for Symfony.

    However, after completing this course, I realized how powerful and customizable EasyAdmin is. The course starts with a base project, then guides you through adding EasyAdmin and customizing it.

    I also learned new things about Symfony that I wasn't aware of before.
  • "EasyAdmin! For an Awesomely Powerful Admin Area" stands out as the most comprehensive course in the Learn Symfony 6 track. From start to finish, it felt complete. The journey from installing EasyAdmin to diving deep into permissions was seamless. The instructor was great and made things clear. However, you'll need some PHP and Symfony background to get it all. Top recommendation for anyone wanting to learn Symfony's admin tools!

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.