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

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

kuick/dotenv
============

Kuick Dotenv is DotEnv parser for PHP

v1.0.1(1y ago)05.8k1MITPHPPHP &gt;=8.2.0

Since Jan 18Pushed 1y ago1 watchersCompare

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

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

Kuick Dotenv
============

[](#kuick-dotenv)

[![Latest Version](https://camo.githubusercontent.com/1b8f3b50279dd7502cbeb9bfb3d5ab0144b0788087e1a3db481d071de5627409/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f72656c656173652f6d696c656a6b6f2f6b7569636b2d646f74656e762e7376673f63616368655365636f6e64733d33363030)](https://github.com/milejko/kuick-dotenv/releases)[![PHP](https://camo.githubusercontent.com/1d5f83818036cc3d31c37a1b288dcfbac9459d782184c8e3d0bd30960ca0a657/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d382e32253230253743253230382e33253230253743253230382e342d626c75653f6c6f676f3d7068702663616368655365636f6e64733d33363030)](https://www.php.net)[![Total Downloads](https://camo.githubusercontent.com/5ded1ab601272c8936c88ff8b79fd636527aacf0708dd76c2733529f64d52bf2/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6b7569636b2f646f74656e762e7376673f63616368655365636f6e64733d33363030)](https://packagist.org/packages/kuick/dotenv)[![GitHub Actions CI](https://github.com/milejko/kuick-dotenv/actions/workflows/ci.yml/badge.svg)](https://github.com/milejko/kuick-dotenv/actions/workflows/ci.yml)[![codecov](https://camo.githubusercontent.com/d5adda99ca2ddac02492d8d882cd2cb0ae942270252932099fd57eec104113f3/68747470733a2f2f636f6465636f762e696f2f67682f6d696c656a6b6f2f6b7569636b2d646f74656e762f67726170682f62616467652e7376673f746f6b656e3d4d3346573358594a354a)](https://codecov.io/gh/milejko/kuick-dotenv)[![Software License](https://camo.githubusercontent.com/e2f0982d826e942af97a6e879597c2301c2a8a97567d69e47148db858bbc5de3/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f63616368655365636f6e64733d3134343030)](LICENSE)

Minimalistic .env parser for PHP applications
---------------------------------------------

[](#minimalistic-env-parser-for-php-applications)

### Key features

[](#key-features)

1. Optimized for the best performance
2. Easy to use

Usage
-----

[](#usage)

1. Install kuick/dotenv package via composer

```
composer require kuick/dotenv

```

2. Place this line inside your index.php, Kernel, or console file

```
use Kuick\Dotenv\DotenvLoader;

DotenvLoader::fromDirectory('/a-directory/containing/dot-env/files');

```

###  Health Score

35

—

LowBetter than 80% of packages

Maintenance42

Moderate activity, may be stable

Popularity24

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity52

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

Every ~3 days

Total

2

Last Release

481d ago

### Community

Maintainers

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

---

Top Contributors

[![milejko](https://avatars.githubusercontent.com/u/14335568?v=4)](https://github.com/milejko "milejko (10 commits)")

---

Tags

envdot envKuick

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/kuick-dotenv/health.svg)](https://phpackages.com/packages/kuick-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.3k](/packages/symfony-dotenv)[helhum/dotenv-connector

Makes it possible to set environment variables for composer projects.

1594.6M34](/packages/helhum-dotenv-connector)[oscarotero/env

Simple library to consume environment variables

9411.4M152](/packages/oscarotero-env)[ffraenz/private-composer-installer

A composer install helper for private packages

2331.7M5](/packages/ffraenz-private-composer-installer)[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)

PHPackages © 2026

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