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

  • Installing EasyAdmin
  • Admin Dashboard
  • Hello CRUD Controller
  • Global vs CRUD-Specific Configuration
  • Controlling the Dashboard Menu
  • Assets: Custom CSS and JS
  • Configuring Fields
  • Fields on some Pages, not Others
  • Deep Field Configuration
  • Upload Fields
  • Controlling the "Formatted Value"
  • The AssociationField
  • Auto-complete Association Field & Controlling the Query
  • AssociationField for a "Many" Collection
  • The Field Configurator System
  • Field Configurator Logic
  • Overriding Field Templates
  • Creating a Custom Field
  • configureCrud()
  • Custom Field JavaScript
  • Custom Stimulus JavaScript Controller
  • The Dashboard Page
  • Service Action Injection
  • Override all the Templates!
  • Permissions
  • Restricting Access to an Entire Crud Section
  • Entity & Field Permissions
  • Security Voter & Entity Permissions
  • The Filter System
  • Multiple Cruds for a Single Entity?
  • Extending with Events
  • Having Fun with the Menu
  • Conditionally Disabling an Action
  • Dynamic Disable an Action & AdminContext
  • Simple Custom GET Action
  • True Custom Action
  • Custom Controller & Generating Admin URLs
  • A Global "Export" Action
  • Linking to EasyAdmin from Twig
  • Form Panels

Taught by

Victor Bocharsky and Ryan Weaver

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.