ErrLookup › vlucas/phpdotenv

vlucas/phpdotenv

Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically. · PHP · 41 source files

Analyzed at 416df70283 on 2026-08-21. 9 documented errors.

Code / MessageTypeSeverityTags
Failed to parse dotenv file. %s
exception error dotenv, env-file, parsing, syntax, php
Expected name to be a non-empty string.
exception error validation, invalid-argument, env-var, php, dotenv
Expected either an instance of %s or a class-string implemen
exception error repository, adapter, invalid-argument, php, dotenv
Illegal character encoding [%s] specified.
exception error dotenv, encoding, mbstring, env-file, php
Conversion from encoding [%s] failed.
exception error dotenv, encoding, mbstring, env-file, php
At least one environment file path must be provided.
exception error dotenv, env-file, path, configuration, php
Unable to read any of the environment file(s) at [%s].
exception error dotenv, env-file, path, file-not-found, php
One or more environment variables failed assertions: %s.
validation critical dotenv, validation, env-var, configuration, php
Lexer encountered unexpected character [%s].
exception error dotenv, lexer, php-error, parsing, php