helhum / dotenv-connector

Makes values from a .env file available as environment variables for composer based projects
MIT License
153 stars 17 forks source link

[TASK] support loadEnv fallback files #28

Closed infabo closed 4 years ago

infabo commented 4 years ago

see https://symfony.com/doc/4.2/components/dotenv.html#usage

helhum commented 4 years ago

Hey @infabo are you interested in updating this PR according to my comments?

infabo commented 4 years ago

Just pushed my changes ;)

infabo commented 4 years ago

IMHO would still prefer to omit the additional check for existing files, because the LoadEnv-adapter was just introduced in 3.0 recently - so no need to keep any backward-compatibility. Leave it to the library to handle absent files - it throws an exception there. But it's you maintaining this library - so your rules apply.

helhum commented 4 years ago

Thanks