PHPackages                             autoxloo/yii2-config-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. autoxloo/yii2-config-editor

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

autoxloo/yii2-config-editor
===========================

Web interface to edit yii2 config files

1.0(6y ago)041BSD-3-ClausePHPPHP &gt;=7.2.0

Since May 21Pushed 4y ago2 watchersCompare

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

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Yii2 config editor
==================

[](#yii2-config-editor)

Web interface to edit yii2 config files.

> Note: Be carefull while editing config file, if you put wrong content, you will damage website and wont access it. Make sure you have file backup!

Installation
------------

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist autoxloo/yii2-config-editor "*"

```

or add

```
"autoxloo/yii2-config-editor": "*"

```

to the require section of your `composer.json` file.

Config
------

[](#config)

In your config add:

```
'modules' => [
    'editor' => [
        'class' => \autoxloo\yii2\config\editor\ConfigEditorModule::class,
        // You can set PhpContentRunner (default), JsonContentRunner
        // or any other class which implements ContentRunnerInterface
        'contentRunnerClass' => \autoxloo\yii2\config\editor\services\PhpContentRunner::class, // default
        'configFilesList' => [
            // list of files to allow edit
        ],
    ],
],
```

Usage
-----

[](#usage)

Once the module is installed and configured, you can use it. If your module name is `editor`, than available routes are:

- `/editor/editor/index` - List of config files to edit (`ConfigEditorModule::configFilesList`).
- `/editor/editor/edit/{id}` - Edit page of config file.

ContentRunner
-------------

[](#contentrunner)

ContentRunner is class which implements `autoxloo\yii2\config\editor\interfaces\ContentRunnerInterface`. It allows to work with config file in different manner (json editor, php file editor...).

Available ContentRunners:

- `autoxloo\yii2\config\editor\services\PhpContentRunner` (default) Allows to edit php files as they are with php highlight. Uses `\conquer\codemirror\CodemirrorWidget`. You can extend this class to change `PhpContentRunner::getWidgetConfig()`to set own config for widget.
- `autoxloo\yii2\config\editor\services\JsonContentRunner` Allows to edit files via json editor (widget `\kdn\yii2\JsonEditor`). Note: it not saves comments.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

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

Unknown

Total

1

Last Release

2547d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e0af05c82328c2e95f5808024281b4f3779bed0a7abb450943973f1f6388472?d=identicon)[autoxloo](/maintainers/autoxloo)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/autoxloo-yii2-config-editor/health.svg)

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

###  Alternatives

[dmstr/yii2-cookie-consent

Yii2 Cookie Consent Widget

1452.6k](/packages/dmstr-yii2-cookie-consent)

PHPackages © 2026

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