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

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

cronfy/env
==========

PHP environment

v0.0.1(8y ago)07MITPHPPHP &gt;=5.4.0

Since Jan 21Pushed 6y agoCompare

[ Source](https://github.com/cronfy/env)[ Packagist](https://packagist.org/packages/cronfy/env)[ RSS](/packages/cronfy-env/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

PHP environment
===============

[](#php-environment)

Provides framework agnostic access to environment data, that can be loaded as array.

Example:

```
// any environment loader can be used, we just need $environment to be an array
$environment = (new josegonzalez\Dotenv\Loader(__DIR__ . '/.env'))
    ->parse()
    ->toArray();

// load envirinment data
Env::load($environment);

// use environment variables
echo Env::get('MYSQL_USER');

// set variables
Env::set('MYSQL_USER', 'value');
```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

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

3035d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9437b35b9443597f698ce24f3d4b38754196b43a94e34b42be715c4e08aa401a?d=identicon)[cronfy](/maintainers/cronfy)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[vivait/string-generator-bundle

Generate random strings for IDs or keys using property annotations

1759.4k](/packages/vivait-string-generator-bundle)[withinboredom/time

Converting time to units

152.7k1](/packages/withinboredom-time)

PHPackages © 2026

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