env

.env

# In all environments, the following files are loaded if they exist:
#  * .env                contains default values
#  * .env.local          uncommitted file with local overrides
#
# DO NOT DEFINE PRODUCTION SECRETS IN THIS FILE.

###> symfony/framework-bundle ###
APP_ENV=dev
APP_SECRET=
APP_SHARE_DIR=var/share
###< symfony/framework-bundle ###

###> doctrine/doctrine-bundle ###
DATABASE_URL="mysql://monuser:monpass@127.0.0.1:3306/ma_galerie?serverVersion=8.0&charset=utf8mb4"
###< doctrine/doctrine-bundle ###

###> symfony/routing ###
DEFAULT_URI=http://localhost
###< symfony/routing ###

explication

Le fichier .env contient les variable de connexion a la base de donnés locale