2017 © Pedro Peláez
 

yii2-extension yii2-jsoneditor

Yii2 jsoneditor widget

image

cadr-sa/yii2-jsoneditor

Yii2 jsoneditor widget

  • Friday, January 15, 2016
  • by cadr-sa
  • Repository
  • 1 Watchers
  • 0 Stars
  • 14 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 9 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Jsoneditor Extension for Yii 2

This extension provides the Jsoneditor integration for the Yii2 framework., (*1)

Installation

This extension requires Jsoneditor, (*2)

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

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

or add, (*5)

"devgroup/yii2-jsoneditor": "*"

to the require section of your composer.json., (*6)

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
    ]
)

The Versions

15/01 2016

dev-master

9999999-dev

Yii2 jsoneditor widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

json yii2 editor jsoneditor

16/12 2014

v1.0.0

1.0.0.0

Yii2 jsoneditor widget

  Sources   Download

GPL-3.0+

The Requires

 

The Development Requires

by Evgeny Dubovitsky

json yii2 editor jsoneditor