Skip to content

Release 2.0.1

Compare
Choose a tag to compare
@zepgram zepgram released this 12 Jun 11:08
· 3 commits to master since this release
  • Removed auto creation of .env file if it doesn't exist mainly for performance reason, but also because of the introduction of $envFilePath argument
  • Replaced file_exists by is_file method to get better performance
  • Add the possibility to set env file path as suggested with issue #2 with optional argument $envFilePath
 public static function get(
        bool $usePutEnv = false,
        string $envKey = self::ENV_KEY,
        string $debugKey = self::DEBUG_KEY,
        string $envFilePath = ''
)