symfonysymfony2-easyadmineasyadmin

How to add a logo in easyadmin?


I only managed to change the name, but I can not find on any forum the way to add with this name, a logo. Has anyone ever encountered this problem?

easy_admin:
    site_name: 'My admin'

Solution

  • Based on documentation you can define an image as the site name like this:

    # app/config/config.yml
    easy_admin:
        site_name: '<img src="http://symfony.com/logos/symfony_white_01.png" />'
    

    You will have a logo instead of a text.