Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
-
Updated
Feb 6, 2022 - PHP
.env (dotenv) is a file, used to store configuration values as key-value pairs, similar to the ini file format. Since this file usually contains confidential information like credentials, it's commonly prevented from being tracked by version control.
Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.
Simple .env file parser and loader based on standard PHP INI parser (parse_ini_file).
A super simple dotenv file parser that is compatible with getenv().
Codeigniter Starter Kit
The WordPress Boilerplate with state-of-the-art development tools and painless configuration
A simple library to loads environment variables from “.env” file
Speed up your production sites by ditching .env for key/value variable pairs as Apache, Nginx, and shell equivalents
Yet another .env parser/loader improved for performance
Manage PHP environment variables and build environment files.