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

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

mongdch/mon-env
===============

The php env config utils.

1.1.2(2y ago)13925MITPHPPHP &gt;=5.6.0

Since Mar 12Pushed 2y ago1 watchersCompare

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

READMEChangelog (5)DependenciesVersions (10)Used By (5)

mon-env
=======

[](#mon-env)

基于PHP的配置管理工具, 实现以下功能:

- 多种配置文件格式支持, 支持array、json、ini、xml、yaml等类型
- 支持自定义扩展配置文件解析驱动
- 目录、文件批量配置解析

安装
--

[](#安装)

```
composer require mongdch/mon-env
```

文档Wiki
------

[](#文档wiki)

[查看文档](/doc/Home.md)

版本更新日志
------

[](#版本更新日志)

[查看日志](./CHANGELOG.md)

---

致谢
==

[](#致谢)

感谢您的支持和阅读，如果有什么不足的地方或者建议还请@我，如果你觉得对你有帮助的话还请给个star。

---

关于
==

[](#关于)

作者邮箱：

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 58.8% 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 ~214 days

Recently: every ~289 days

Total

9

Last Release

905d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.0.0

1.0.3PHP &gt;=5.6.0

### Community

Maintainers

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

---

Top Contributors

[![MonGDCH](https://avatars.githubusercontent.com/u/19282393?v=4)](https://github.com/MonGDCH "MonGDCH (10 commits)")[![monton-gif](https://avatars.githubusercontent.com/u/53856623?v=4)](https://github.com/monton-gif "monton-gif (7 commits)")

---

Tags

configenv

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/mongdch-mon-env/health.svg)](https://phpackages.com/packages/mongdch-mon-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)[m1/env

Env is a lightweight library bringing .env file parser compatibility to PHP. In short - it enables you to read .env files with PHP.

6412.0M21](/packages/m1-env)[cekurte/environment

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

5884.0k7](/packages/cekurte-environment)

PHPackages © 2026

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