PHPackages                             jimchen/yii2-dotenv-editor - 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. jimchen/yii2-dotenv-editor

ActiveYii2-extension

jimchen/yii2-dotenv-editor
==========================

A Yii2 package for editing the .env file dynamically.

v1.1.3(5y ago)25MITPHPPHP &gt;=7.1

Since Jun 22Pushed 5y ago1 watchersCompare

[ Source](https://github.com/JimChenWYU/yii2-dotenv-editor)[ Packagist](https://packagist.org/packages/jimchen/yii2-dotenv-editor)[ RSS](/packages/jimchen-yii2-dotenv-editor/feed)WikiDiscussions master Synced today

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

 yii2-dotenv-editor
====================

[](#-yii2-dotenv-editor-)

 A Yii2 package for editing the .env file dynamically.

Installing
----------

[](#installing)

```
$ composer require jimchen/yii2-dotenv-editor -vvv
```

Usage
-----

[](#usage)

```
[
    'bootstrap' => [
        'dotenv',
    ],
    'modules' => [
        'dotenv' => [
            'class' => 'JimChen\Yii2DotenvEditor\Module',
            'dotenvOptions' => [
                'env' => '@app/.env',
                'backupPath' => '@runtime/backups',
                'autoBackup' => true,
                'maxBackup'  => 10,
            ],
        ],
    ],
];
```

Then you can open your Browser surface `http://host:port/dotenv`. Enjoy it!

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/JimChenWYU/yii2-dotenv-editor/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/JimChenWYU/yii2-dotenv-editor/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

5

Last Release

2148d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/20cebafc45fd6fc5f67bf655119a3b27e9b208e248f2d7f5c98fd6c0a101485b?d=identicon)[jimchen](/maintainers/jimchen)

---

Top Contributors

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

---

Tags

dotenv-editorphp7yii2-dotenv-editoryii2-extension

### Embed Badge

![Health badge](/badges/jimchen-yii2-dotenv-editor/health.svg)

```
[![Health](https://phpackages.com/badges/jimchen-yii2-dotenv-editor/health.svg)](https://phpackages.com/packages/jimchen-yii2-dotenv-editor)
```

###  Alternatives

[skeeks/cms

SkeekS CMS — control panel and tools based on php framework Yii2

13825.6k46](/packages/skeeks-cms)[callmez/yii2-wechat

The wechat module for the Yii framework

3841.1k](/packages/callmez-yii2-wechat)[beaten-sect0r/yii2-core

Yii2 Core project template

771.1k](/packages/beaten-sect0r-yii2-core)

PHPackages © 2026

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