We currently use m1/env to load our .env file. This library hasn't been updated in 4 years.
symfony/dotenv is better maintained. If we ended up adopting more Symfony component it makes sense to pick this one.
If we end up adopting more of Symfony's bootstrapping logic, we could also consider dropping EnvironmentLoader or Environment and let Symfony load environment variables for us.
We currently use
m1/env
to load our.env
file. This library hasn't been updated in 4 years.symfony/dotenv
is better maintained. If we ended up adopting more Symfony component it makes sense to pick this one.If we end up adopting more of Symfony's bootstrapping logic, we could also consider dropping EnvironmentLoader or Environment and let Symfony load environment variables for us.