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

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

flexic/dotenv
=============

Flexic component package

1.0.0(7y ago)130GPL-3.0-or-laterPHPPHP ^7.1.3

Since Feb 21Pushed 7y agoCompare

[ Source](https://github.com/flexicsystems/dotenv)[ Packagist](https://packagist.org/packages/flexic/dotenv)[ Docs](https://www.themepoint.de)[ RSS](/packages/flexic-dotenv/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

DotEnv Component
================

[](#dotenv-component)

The DotEnv component defines an object-oriented layer for the loading of environment variables from .env files

Resources
---------

[](#resources)

- [Documentation](https://www.themepoint.de/)
- [Issue reporting](https://github.com/flexicsystems/flexic/issues)

Examples
--------

[](#examples)

```
$dot_env = new \Flexic\DotEnv\DotEnv();

$data = $dot_env->parseFile('/path/to/dot/env/file/');
$dot_env->populate($data);

# Variables from .env file are now avaiable in $_ENV array
```

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

2639d ago

### Community

Maintainers

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

---

Top Contributors

[![ThemePoint](https://avatars.githubusercontent.com/u/28843201?v=4)](https://github.com/ThemePoint "ThemePoint (1 commits)")

---

Tags

environmentenvdotenvvariables

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/flexic-dotenv/health.svg)](https://phpackages.com/packages/flexic-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)[imliam/laravel-env-set-command

Set a .env file variable from the command line

118352.4k10](/packages/imliam-laravel-env-set-command)[msztorc/laravel-env

Laravel env helper commands

7855.4k](/packages/msztorc-laravel-env)[cekurte/environment

A library to get the values from environment variables and process to php data types

5884.0k7](/packages/cekurte-environment)[mirazmac/dotenvwriter

A PHP library to write values to .env (DotEnv) files

19129.3k7](/packages/mirazmac-dotenvwriter)

PHPackages © 2026

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