PHPackages                             vzina/phpdotenv - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. vzina/phpdotenv

ActiveLibrary

vzina/phpdotenv
===============

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

0.1.0(5y ago)03MITPHPPHP &gt;=5.3.9CI failing

Since Jun 1Pushed 5y ago1 watchersCompare

[ Source](https://github.com/vzina/phpdotenv)[ Packagist](https://packagist.org/packages/vzina/phpdotenv)[ RSS](/packages/vzina-phpdotenv/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

phpdotenv
=========

[](#phpdotenv)

phpdotenv

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2177d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/248f8ed7469cedfe37c86e79cff2ab49e9f3379b416f29bdf2460527dabfd1ed?d=identicon)[vzina](/maintainers/vzina)

---

Top Contributors

[![vzina](https://avatars.githubusercontent.com/u/7343318?v=4)](https://github.com/vzina "vzina (2 commits)")

---

Tags

environmentenvdotenv

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/vzina-phpdotenv/health.svg)

```
[![Health](https://phpackages.com/badges/vzina-phpdotenv/health.svg)](https://phpackages.com/packages/vzina-phpdotenv)
```

###  Alternatives

[vlucas/phpdotenv

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

13.5k602.4M5.4k](/packages/vlucas-phpdotenv)[symfony/dotenv

Registers environment variables from a .env file

3.8k226.7M2.3k](/packages/symfony-dotenv)[johnathanmiller/secure-env-php

Encrypt environment files for production use.

6054.3k2](/packages/johnathanmiller-secure-env-php)[diarmuidie/envpopulate

Tool to interactively populate a `.env` file based on an `.env.example` file whenever Composer installs or updates.

1892.0k](/packages/diarmuidie-envpopulate)[zepgram/magento-dotenv

Simple autoloader to integrate the Symfony Dotenv component into Magento2

1371.3k](/packages/zepgram-magento-dotenv)[nystudio107/dotenvy

Speed up your production sites by ditching .env for key/value variable pairs as Apache, Nginx, and shell equivalents.

326.9k](/packages/nystudio107-dotenvy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
