Where is config.yml for FOSUserBundle configuratio

2019-07-23 06:37发布

问题:

I am trying to include FOSUserBundle in my Symfony application. The doc mentions an app/config/config.yml file, but there is none in my application. I think it's because I have a Flex structure.

Anyone knows where I should put the fos_user configuration in my app?

回答1:

The config file should be config/packages/fos_user.yaml with the symfony flex structure.

The friendsofsymfony/user-bundle recipe's pull request is still not merged as of 2018-01-25.