Mini Library Course #9: Book CRUD in EasyAdmin: Fields, Relations, Files & Images
The Book entity is the heart of the project. In this chapter we configure every field of BookCrudController: text, relations, slug, the PDF file, the cover image, and the archived flag. What you'll learn Configure required text fields and rich text Link entities with AssociationField and __toString() Generate a slug automatically Upload a PDF with FileField and a cover with ImageField Generate the controller as for the others (symfony console make:admin:crud, then choose Book), add it to the menu, and let’s fill configureFields(). ...