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

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

kdn/yii2-json-editor
====================

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

2.5.1(3y ago)22570.0k↓26.3%2[1 PRs](https://github.com/dmitry-kulikov/yii2-json-editor/pulls)3MITPHPPHP &gt;=5.4.0

Since Aug 24Pushed 2y ago2 watchersCompare

[ Source](https://github.com/dmitry-kulikov/yii2-json-editor)[ Packagist](https://packagist.org/packages/kdn/yii2-json-editor)[ RSS](/packages/kdn-yii2-json-editor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (17)Used By (3)

yii2-json-editor
================

[](#yii2-json-editor)

[JSON editor](https://jsoneditoronline.org) widget for Yii 2.
This widget uses JSON editor [josdejong/jsoneditor](https://github.com/josdejong/jsoneditor).

[![License](https://camo.githubusercontent.com/2228cd317d15d97605dd1cd29272e39ac89e23b37a763055ba862a0852ff5b8b/68747470733a2f2f706f7365722e707567782e6f72672f6b646e2f796969322d6a736f6e2d656469746f722f6c6963656e7365)](https://packagist.org/packages/kdn/yii2-json-editor)[![Latest Stable Version](https://camo.githubusercontent.com/51077cf431b7cf8f3aa2f78a744bbb3d085377841211a35c73cfb3462cb3ec97/68747470733a2f2f706f7365722e707567782e6f72672f6b646e2f796969322d6a736f6e2d656469746f722f762f737461626c65)](https://packagist.org/packages/kdn/yii2-json-editor)[![Code Coverage](https://camo.githubusercontent.com/b4bb3697752818930ada75ffceafc72369b2d646a6c39f31067cbbe9ed94ffe8/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646d697472792d6b756c696b6f762f796969322d6a736f6e2d656469746f722f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dmitry-kulikov/yii2-json-editor/?branch=master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/38770e30012bc8dbc1f4089510742a8b19234e65a5fff5a713783f559f36693a/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f646d697472792d6b756c696b6f762f796969322d6a736f6e2d656469746f722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/dmitry-kulikov/yii2-json-editor/?branch=master)[![Code Climate](https://camo.githubusercontent.com/7e0389d8ca32d1eaca693ce5b039f612d1d49680f5277c99aad411c13c2a9b5e/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f646d697472792d6b756c696b6f762f796969322d6a736f6e2d656469746f722f6261646765732f6770612e737667)](https://codeclimate.com/github/dmitry-kulikov/yii2-json-editor)

Requirements
------------

[](#requirements)

- PHP 5.4 or later or HHVM 3;
- Yii framework 2.

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

[](#installation)

The preferred way to install this extension is through [Composer](https://getcomposer.org).

To install, either run

```
php composer.phar require kdn/yii2-json-editor "*"
```

or add

```
"kdn/yii2-json-editor": "*"

```

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

Usage
-----

[](#usage)

Minimal example:

```
