Chapter 1. Installation
Chapter 1. Installation¶
In a Symfony application using Symfony Flex, run this command to install and integrate EasyAdmin in your application:
$ composer require admin
This command executes a Symfony Flex recipe that creates the following file to enable the routes of the bundle:
1 2 3 4 5
# config/routes/easy_admin.yaml easy_admin_bundle: resource: '@EasyAdminBundle/Controller/EasyAdminController.php' prefix: /admin type: annotation
Depending on your existing routing configuration, Symfony may ignore this
configuration. Run the
debug:router command to troubleshoot any problem with
the application routes.
That's it! Now everything is ready to create your first admin backend.
Next chapter: Chapter 2. Your First Backend
This work, including the code samples, is licensed under a Creative Commons BY-SA 3.0 license.