Error configuration fos_user bundle Symfony 4.4?

Trying to install FOSUserBundle integration from the Sonata Project at the official documentation as well and tried different guides but always the same error : There is no extension able to load the configuration for "fos_user".
The documentation says to create the file config/packages/fos_user.yaml with the following content:
fos_user:
 db_driver: orm
 firewall_name: main
 user_class: App\Entity\User
registration:
confirmation:
 enabled: false
from_email:
 address: '%env(MAILER_USER_ADDRESS)%'
 sender_name: '%env(MAILER_USER_NAME)%'
service:
 user_manager: sonata.user.orm.user_manager
 mailer: 'fos_user.mailer.noop'
group:
 group_class: App\Entity\Group
 group_manager: sonata.user.orm.group_manager

But after the creation of the file comes an error "There is no extension able to load the configuration for "fos_user" Looked at namespace: "fos_user", etc. what's the error ?
April 19th 20 at 12:29
0 answer

Find more questions by tags Symfony