phpdotenv

phpdotenv

vlucas

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

13.5k Stars
657 Forks
13.5k Watchers
PHP Language
bsd-3-clause License
100 SrcLog Score
Cost to Build
$43.1K
Market Value
$245.8K

Growth over time

7 data points  ·  2021-11-01 → 2026-04-01
Stars Forks Watchers
💬

How do you feel about this project?

Ask AI about phpdotenv

Question copied to clipboard

What is the vlucas/phpdotenv GitHub project? Description: "Loads environment variables from `.env` to `getenv()`, `$_ENV` and `$_SERVER` automagically.". Written in PHP. Explain what it does, its main use cases, key features, and who would benefit from using it.

Question is copied to clipboard — paste it after the AI opens.

How to clone phpdotenv

Clone via HTTPS

git clone https://github.com/vlucas/phpdotenv.git

Clone via SSH

[email protected]:vlucas/phpdotenv.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the phpdotenv issue tracker:

Open GitHub Issues