Chapter 1. Installation

Install bundle

We assume you’re familiar with Composer, a dependency manager for PHP. Use the following command to add the bundle to your composer.json and download the package.

composer require harmony/admin-bundle

Alternatively, you can clone the repository.

Configure security layer

To secure the admin interface, you will need to update your security layer and restrict his access for administrators only. Edit the config/packages/security.yaml file and add the next configuration:

- { path: ^/admin, roles: ROLE_ADMIN }