Changing the backend logo

You probably want to put your own project's name and logo on the backend as well. Currently, it shows the Sonata project logo and the title Sonata Admin in front of it.

To do so, copy your logo file in app/Resources/public/img/mava_logo.png.

Then, install your assets:

$ bin/console assets:install

Now you can change your project's logo by adding the following lines to the config.yml file:

# app/config/config.yml
sonata_admin:
    title:      MAVA v1.0
    title_logo: img/mava_logo.png

Log in to the administrator area and you will notice the new logo here:

Changing the backend logo

Get Mastering Symfony now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.