How to create a new root user in Sonata with Symfony

Hi guys! In this tutorial I will explain to you how to create a new root user in Sonata.

Open the command line in your Symfony project and enter:

php app/console fos:user:create --super-admin

Next, add new username at

Please choose a username:

Add email at

Please choose an email:

And add a new password at

Please choose a password:

Video tutorial:

http://sonata-project.org/bundles/admin/master/doc/reference/security.html









Leave a Comment