Symfony – where and how to connect the database

Which file the database is connected to in Symfony.

The settings for the database are in the file .env:

Work with the database:

Hey. You are on my site. I am a developer. Here I share my best practices and knowledge. Ask in the comments if you don’t understand something or write if you have something to add.

Similar Posts

Leave a Reply