composer require admin

Configuration in config/routes/easy_admin.yaml . We can change the route name “admin” to “dashboard”

easy_admin_bundle:
    resource: '@EasyAdminBundle/Controller/EasyAdminController.php'
    prefix: /admin
    type: annotation

Now need to uncomment codes from config/package/easy_admin.yaml

easy_admin:
entities:
# List the entity class name you want to manage
– App\Entity\User
– App\Entity\Donation

More details

By toihid

Leave a Reply