PHP-DotEnv is a lightweight PHP library designed to simplify the management of environment variables in your PHP applications.
-
Updated
Dec 15, 2025 - PHP
PHP-DotEnv is a lightweight PHP library designed to simplify the management of environment variables in your PHP applications.
A small and fast .env loader for PHP
PHP .env editor library
simple dotenv file loader using the PHP built-in parse_ini_file() to efficiently parse dotenv files
Dependency-free environment file handler (.env) loading variables and its values in $_ENV, $_SERVER and getenv() in the PHP userland
Loads environment variables from .env or .env.php file.
A super simple dotenv file parser that is compatible with getenv().
Manage PHP environment variables and build environment files.
A simple bootsrap CRUD app with sign in & sign up feature.
POSIX-compliant dotenv parser
Add a description, image, and links to the dotenv-parser topic page so that developers can more easily learn about it.
To associate your repository with the dotenv-parser topic, visit your repo's landing page and select "manage topics."