Release 2.0.1
- 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
byis_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 = ''
)