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:
https://symfony.com/doc/current/doctrine.html

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

Your email address will not be published. Required fields are marked *