PHPackages                             php-standard-library/env - 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. php-standard-library/env

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

php-standard-library/env
========================

Functions for inspecting and modifying environment variables, working directory, and paths

6.2.1(4mo ago)039.9k↑137.9%5MITPHPPHP ~8.4.0 || ~8.5.0

Since Mar 17Pushed 2mo agoCompare

[ Source](https://github.com/php-standard-library/env)[ Packagist](https://packagist.org/packages/php-standard-library/env)[ Docs](https://php-standard-library.dev)[ RSS](/packages/php-standard-library-env/feed)WikiDiscussions next Synced 4w ago

READMEChangelog (5)Dependencies (6)Versions (13)Used By (5)

PHP Standard Library - Env
==========================

[](#php-standard-library---env)

Functions for inspecting and modifying environment variables, working directory, and paths.

---

- [Documentation](https://php-standard-library.dev)
- [Contributing](https://github.com/php-standard-library/php-standard-library/blob/next/CONTRIBUTING.md)
- [Create Pull Request](https://github.com/php-standard-library/php-standard-library/pulls)
- [Report an Issue](https://github.com/php-standard-library/php-standard-library/issues)

###  Health Score

49

—

FairBetter than 94% of packages

Maintenance81

Actively maintained with recent releases

Popularity30

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity59

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 ~1 days

Total

12

Last Release

129d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8489d7c85bfa7c637b8e13484f3f659652aea0568b6e7f9e66edeb0649b5a2f1?d=identicon)[azjezz](/maintainers/azjezz)

---

Top Contributors

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

---

Tags

envenvironmentenvironmentenv

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-standard-library-env/health.svg)

```
[![Health](https://phpackages.com/badges/php-standard-library-env/health.svg)](https://phpackages.com/packages/php-standard-library-env)
```

###  Alternatives

[vlucas/phpdotenv

Loads environment variables from `.env` to `getenv()`, `$\_ENV` and `$\_SERVER` automagically.

13.5k654.3M6.7k](/packages/vlucas-phpdotenv)[symfony/dotenv

Registers environment variables from a .env file

3.8k249.2M3.0k](/packages/symfony-dotenv)[imliam/laravel-env-set-command

Set a .env file variable from the command line

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

Laravel env helper commands

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

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

5887.9k9](/packages/cekurte-environment)[mirazmac/dotenvwriter

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

21166.0k14](/packages/mirazmac-dotenvwriter)

PHPackages © 2026

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