PHPackages                             prinx/dotenv - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. prinx/dotenv

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

prinx/dotenv
============

Make easy access to the environment variables in your application

v1.0.0(4y ago)22.9k↓100%11MITPHP &gt;=5.6.0

Since Mar 27Compare

[ Source](https://github.com/prinx/dotenv)[ Packagist](https://packagist.org/packages/prinx/dotenv)[ Docs](https://github.com/prinx/dotenv)[ RSS](/packages/prinx-dotenv/feed)WikiDiscussions Synced 1mo ago

READMEChangelogDependencies (2)Versions (10)Used By (11)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/prinx/dotenv).

###  Health Score

30

—

LowBetter than 65% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

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

Every ~52 days

Recently: every ~74 days

Total

9

Last Release

1814d ago

Major Versions

v0.5.0 → v1.0.02021-05-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/896d24b4882562faf6f1c8c25ea90e515037f5811f251a11fd80b68db61fc458?d=identicon)[Prinx](/maintainers/Prinx)

---

Tags

envdotenvphpdotenv

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/prinx-dotenv/health.svg)

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

###  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.2k](/packages/symfony-dotenv)[helhum/dotenv-connector

Makes it possible to set environment variables for composer projects.

1594.6M33](/packages/helhum-dotenv-connector)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)[sroze/companienv

Companion for .env files

245418.8k1](/packages/sroze-companienv)[sixlive/dotenv-editor

A tool to edit phpdotenv files

761.5M11](/packages/sixlive-dotenv-editor)

PHPackages © 2026

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