Quantcast
Channel: Active questions tagged symfony4 - Stack Overflow
Viewing all articles
Browse latest Browse all 3925

Why are .env files preferred over .yaml files for environment variables?

$
0
0

What is/are the main reason(s), for which Symfony preferres to use .env files - for holding values of environment variables in them - instead of using the more flexible .yaml files?

I am asking this, because I read this comment, which states:

It was much simpler when we were using .yaml file.
I totally understand why we needed to switch to .env file, but IMHO we should rethink everything.

Thank you for your time.


Viewing all articles
Browse latest Browse all 3925

Trending Articles