Packagist
vlucas/phpdotenv
Loads environment variables from `.env` to `$_ENV` and `$_SERVER` automagically, and optionally to `getenv()`.
vlatestView on Packagist ↗
Security
No known vulnerabilities in the OSV database as of the last sync.
Sourced from Packagist · Updated September 6, 2026
Package metadata from Packagist, the PHP/Composer package repository.
View original source ↗Spot an error on this page? Let us know →FAQ
Common questions
What is vlucas/phpdotenv?
Loads environment variables from `.env` to `$_ENV` and `$_SERVER` automagically, and optionally to `getenv()`.
Is vlucas/phpdotenv safe to use?
No known vulnerabilities in the OSV database as of the last sync.
What license does vlucas/phpdotenv use?
vlucas/phpdotenv does not specify a license.