PHPackages                             perf2k2/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. perf2k2/dotenv

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

perf2k2/dotenv
==============

Lightweight and fast alternative to phpdotenv without dependencies

1.0.0(3y ago)07MITPHPPHP &gt;=7.3

Since Dec 15Pushed 3y ago1 watchersCompare

[ Source](https://github.com/perf2k2/dotenv)[ Packagist](https://packagist.org/packages/perf2k2/dotenv)[ RSS](/packages/perf2k2-dotenv/feed)WikiDiscussions master Synced today

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

Dotenv
======

[](#dotenv)

Lightweight and fast alternative to [phpdotenv](https://github.com/vlucas/phpdotenv) with zero dependencies.

Installation
------------

[](#installation)

The fastest way is using composer:

```
composer require perf2k2/dotenv

```

Testing
-------

[](#testing)

Build docker image:

```
make build
```

Install dependencies:

```
make deps
```

Run tests:

```
make testing
```

Changelog
---------

[](#changelog)

VersionChangesv1.0.0First stable versionRoadmap
-------

[](#roadmap)

- Nesting variables
- PHP8 support

License
-------

[](#license)

MIT

###  Health Score

19

—

LowBetter than 9% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

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

Unknown

Total

1

Last Release

1295d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ce0170557fb41f04f3e4828c59ade75a5578e38149af847818dc24b28f2df9ec?d=identicon)[perf2k2](/maintainers/perf2k2)

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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