vlucas/phpdotenv

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

PHPMakefilephpdotenvenvironmentconfigurationenvironment-variableshacktoberfest
This is stars and forks stats for /vlucas/phpdotenv repository. As of 29 Apr, 2024 this repository has 12695 stars and 658 forks.

PHP dotenv Loads environment variables from .env to getenv(), $_ENV and $_SERVER automagically. Why .env? You should never store sensitive credentials in your code. Storing configuration in the environment is one of the tenets of a twelve-factor app. Anything that is likely to change between deployment environments – such as database credentials or credentials for 3rd party services – should be extracted from the code into environment variables. Basically, a .env file is an easy way to load custom...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
Audi-1/sqli-labsPHPObjective-C++JavaScript4.7k01.5k0
prasathmani/tinyfilemanagerPHPDockerfile4.1k01.6k0
antonkomarev/github-profile-views-counterPHPMakefileDockerfile3.2k03160
vinta/awesome-pythonPythonMakefile183.2k023.9k0
pyodide/pyodidePythonCTypeScript10.5k07160
publiclab/plots2RubyHTMLJavaScript94301.9k0
rubysec/ruby-advisory-dbRubyShellPython95902150
academic/awesome-datascience22k05.5k0
pret/pokeheartgoldAssemblyCC++186+6680
ruricolist/serapeumCommon LispMakefile3780360