Symfony Dotenv v5.1.0 Release Notes

Release Date: 2020-05-31 // about 2 years ago
    • added Dotenv::bootEnv() to check for .env.local.php before calling Dotenv::loadEnv()
    • added Dotenv::setProdEnvs() and Dotenv::usePutenv()
    • made Dotenv's constructor accept $envKey and $debugKey arguments, to define the name of the env vars that configure the env name and debug settings
    • deprecated passing $usePutenv argument to Dotenv's constructor