phpdotenv

phpdotenv

phpdotenv

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

13.5k Stars
668 Forks
162 Watchers
PHP Language
bsd-3-clause License
100 SrcLog Score
Cost to Build
$48.0K
Market Value
$312.1K

Growth over time

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

How do you feel about this project?

Ask AI about phpdotenv

Question copied to clipboard

What is the phpdotenv/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.

🏆 Show off this rank

phpdotenv/phpdotenv on SrcLog (holo style)

Add it to a GitHub README or profile — the card updates as the ranking changes:

How to clone phpdotenv

Clone via HTTPS

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

Clone via SSH

[email protected]:phpdotenv/phpdotenv.git

Download ZIP

Download master.zip

Found an issue?

Report bugs or request features on the phpdotenv issue tracker:

Open GitHub Issues