devgroup/yii2-jsoneditor 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

devgroup/yii2-jsoneditor

最新稳定版本:v1.1.0

Composer 安装命令:

composer require devgroup/yii2-jsoneditor

包简介

Yii2 jsoneditor widget

README 文档

README

This extension provides the Jsoneditor integration for the Yii2 framework.

Installation

This extension requires Jsoneditor

The preferred way to install this extension is through composer.

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

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

统计信息

  • 总下载量: 99.07k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 11
  • 点击次数: 1
  • 依赖项目数: 3
  • 推荐数: 0

GitHub 信息

  • Stars: 8
  • Watchers: 17
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2014-11-26