Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony4 - 'app/config/config.yml' is missing?

I am new with Symfony4, and creating Login Form with FOSUserBundle. And I got stuck at step 5 mentioned in this article. When it says:

Add the following configuration to your config.yml file according to which type of datastore you are using.

# app/config/config.yml
fos_user:
    db_driver: orm # other valid values are 'mongodb' and 'couchdb'
    firewall_name: main
    user_class: AppBundle\Entity\User
    from_email:
        address: "%mailer_user%"
        sender_name: "%mailer_user%"

The problem is that in symfony4, there is no app folder, and no simple config.yml file in config folder.

I think this article might be working with older versions, but for Symfony4, it may need some amendments.

Can any body suggest how to fix it?

like image 952
M_Idrees Avatar asked Apr 12 '18 14:04

M_Idrees


1 Answers

Why not to create it config/packages/fos.yaml ? Or add in one of existing config/packages/foo.yaml ? https://symfony.com/doc/current/configuration.html

like image 185
Andrius Avatar answered Sep 27 '22 20:09

Andrius