PHPackages                             cadr-sa/yii2-jsoneditor - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. cadr-sa/yii2-jsoneditor

ActiveYii2-extension[Parsing &amp; Serialization](/categories/parsing)

cadr-sa/yii2-jsoneditor
=======================

Yii2 jsoneditor widget

v1.0.0(11y ago)015GPL-3.0+PHP

Since Dec 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/cadr-sa/yii2-jsoneditor)[ Packagist](https://packagist.org/packages/cadr-sa/yii2-jsoneditor)[ RSS](/packages/cadr-sa-yii2-jsoneditor/feed)WikiDiscussions master Synced 2mo ago

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

Jsoneditor Extension for Yii 2
==============================

[](#jsoneditor-extension-for-yii-2)

This extension provides the [Jsoneditor](http://jsoneditoronline.org/) integration for the Yii2 framework.

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

[](#installation)

This extension requires [Jsoneditor](https://github.com/josdejong/jsoneditor/)

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

Either run

```
php composer.phar require --prefer-dist devgroup/yii2-jsoneditor "*"

```

or add

```
"devgroup/yii2-jsoneditor": "*"

```

to the require section of your composer.json.

General Usage
-------------

[](#general-usage)

```
use devgroup\jsoneditor\Jsoneditor;

Jsoneditor::widget(
    [
        'editorOptions' => [
            'modes' => ['code', 'form', 'text', 'tree', 'view'], // available modes
            'mode' => 'tree', // current mode
        ],
        'name' => 'editor', // input name. Either 'name', or 'model' and 'attribute' properties must be specified.
        'options' => [], // html options
    ]
)
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

4163d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cc77ab82e20d464616efff8054e24fe890266114ca83b14a8882aa4edd49d9bf?d=identicon)[cadr-sa](/maintainers/cadr-sa)

---

Top Contributors

[![evgen-d](https://avatars.githubusercontent.com/u/2807102?v=4)](https://github.com/evgen-d "evgen-d (6 commits)")

---

Tags

jsonyii2editorjsoneditor

### Embed Badge

![Health badge](/badges/cadr-sa-yii2-jsoneditor/health.svg)

```
[![Health](https://phpackages.com/badges/cadr-sa-yii2-jsoneditor/health.svg)](https://phpackages.com/packages/cadr-sa-yii2-jsoneditor)
```

###  Alternatives

[kdn/yii2-json-editor

JSON editor widget (josdejong/jsoneditor) for Yii 2.

22570.0k3](/packages/kdn-yii2-json-editor)[devgroup/yii2-jsoneditor

Yii2 jsoneditor widget

1199.6k1](/packages/devgroup-yii2-jsoneditor)[nizsheanez/yii2-json-rpc

A lightweight JsonRpc Server and Client for PHP

2034.0k](/packages/nizsheanez-yii2-json-rpc)

PHPackages © 2026

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