PHPackages                             janisto/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. janisto/env

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

janisto/env
===========

Environment class, used to set configuration depending on the server environment.

1.0.1(9y ago)124public domainPHP &gt;=5.4.0

Since May 13Compare

[ Source](https://github.com/janisto/env)[ Packagist](https://packagist.org/packages/janisto/env)[ Docs](https://github.com/janisto/env)[ RSS](/packages/janisto-env/feed)WikiDiscussions Synced 2mo ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/janisto/env).

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity59

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

Every ~12 days

Total

2

Last Release

3642d ago

### Community

Maintainers

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

---

Tags

configurationenvironment

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/janisto-env/health.svg)

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

###  Alternatives

[vlucas/phpdotenv

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

13.5k602.4M5.4k](/packages/vlucas-phpdotenv)[symfony/options-resolver

Provides an improved replacement for the array\_replace PHP function

3.2k493.9M1.6k](/packages/symfony-options-resolver)[symfony/dotenv

Registers environment variables from a .env file

3.8k226.7M2.3k](/packages/symfony-dotenv)[league/config

Define configuration arrays with strict schemas and access values with dot notation

564302.2M24](/packages/league-config)[chillerlan/php-settings-container

A container class for immutable settings objects. Not a DI container.

3427.3M21](/packages/chillerlan-php-settings-container)[janisto/yii2-environment

Environment class for Yii 2, used to set configuration for console and web apps depending on the server environment.

2034.6k3](/packages/janisto-yii2-environment)

PHPackages © 2026

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