PHPackages                             pa3datka/phpenv - 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. pa3datka/phpenv

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

pa3datka/phpenv
===============

Reading enviroment varibles .env

25.05.22.x-dev(3y ago)2183PHPPHP &gt;=7.4

Since May 25Pushed 3y ago1 watchersCompare

[ Source](https://github.com/pa3datka/phpEnv)[ Packagist](https://packagist.org/packages/pa3datka/phpenv)[ RSS](/packages/pa3datka-phpenv/feed)WikiDiscussions master Synced 6d ago

READMEChangelogDependenciesVersions (2)Used By (0)

Description
-----------

[](#description)

A simple library for reading the .env file.

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

[](#installation)

composer require pa3datka/phpenv

Usage
-----

[](#usage)

Create a file .env in the root of the project. Use:`Env::env(string $value, string $default): string`

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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

1452d ago

### Community

Maintainers

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

---

Top Contributors

[![pa3datka](https://avatars.githubusercontent.com/u/63630679?v=4)](https://github.com/pa3datka "pa3datka (9 commits)")

### Embed Badge

![Health badge](/badges/pa3datka-phpenv/health.svg)

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

PHPackages © 2026

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