Chapter 1. Installation ======================= Installation Using Symfony Flex ------------------------------- `Symfony Flex`_ is the new way to manage dependencies on Symfony 3.3 and higher applications. If your project already uses Symfony Flex, execute this command to download, register and configure the bundle automatically: .. code-block:: terminal $ composer require admin .. note:: The above command creates a ``config/routes/easy_admin.yaml`` file to enable the routes of the bundle. 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 all! You can skip the rest of this chapter and go to the next chapter. Installation without Symfony Flex --------------------------------- Installing EasyAdmin without Symfony Flex requires you to edit two files and execute two console commands: Step 1: Download the Bundle ~~~~~~~~~~~~~~~~~~~~~~~~~~~ Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle: .. code-block:: terminal $ composer require easycorp/easyadmin-bundle This command requires you to have Composer installed globally, as explained in the `Composer documentation`_. Step 2: Enable the Bundle ~~~~~~~~~~~~~~~~~~~~~~~~~ Then, enable the bundle by adding it to the list of registered bundles in the ``app/AppKernel.php`` file of your project: .. code-block:: php