YoVDO

EasyAdmin! For an Awesomely Powerful Admin Area

Offered By: SymfonyCasts

Tags

Symfony Courses Web Development Courses Web Design Courses Security Management Courses

Course Description

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

Related Courses

Software as a Service
University of California, Berkeley via Coursera
Intro to Computer Science
University of Virginia via Udacity
Web Development
Udacity
Software Engineering for SaaS
University of California, Berkeley via Coursera
CS50's Introduction to Computer Science
Harvard University via edX