phpdotenv

Config loader

Automatically loads environment variables from a configuration file into PHP applications.

Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically.

GitHub

13k stars
173 watching
628 forks
Language: PHP
last commit: 4 months ago
Linked from 2 awesome lists

configurationdotenvenvironmentenvironment-variableshacktoberfestphp

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
bkeepers/dotenv A Ruby gem that loads environment variables from a .env file into the application's environment. 6,604
motdotla/dotenv Loads environment variables from a configuration file into the application's environment 19,228
symfony/dotenv A component that loads and parses environment variables from .env files to make them accessible in PHP applications. 3,743
hyperupcall/autoenv Automatically sets up environments based on directory contents. 5,710
rbenv/rbenv-vars An rbenv plugin that safely sets environment variables before spawning Ruby processes. 422
joho/godotenv Loads environment variables from .env files into Go applications 8,445
jpcercal/environment A library that provides methods to manage and manipulate environment variables in PHP. 57
runtime-env/import-meta-env Provides a way to manage environment-specific variables in JavaScript applications. 243
chihab/dotenv-run A collection of packages that provide seamless loading of environment variables from .env files across multiple development tools and frameworks. 251
tonerdo/dotnet-env A .NET library to load environment variables from .env files 445
fabiogibson/envrc-zsh-plugin Automatically loads or unloads environment variables based on the current directory 2
ladjs/dotenv-extended Manages environment-specific variables and default values for applications 2
svenluijten/env-providers A package that allows you to configure which Laravel service providers and aliases are loaded based on the application's environment. 77
sergioribera/cmp-dotenv An autocompletion plugin that fetches environment variables from .env files and the system. 65
nasermirzaei89/env A package to access environment variables in Go 18