PHPackages                             zacksleo/yii2-ueditor - 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. zacksleo/yii2-ueditor

ActiveYii2-extension[Utility &amp; Helpers](/categories/utility)

zacksleo/yii2-ueditor
=====================

yii2 ueditor extend

v1.0.0(9y ago)1259MITPHPCI failing

Since Feb 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/zacksleo/yii2-ueditor)[ Packagist](https://packagist.org/packages/zacksleo/yii2-ueditor)[ RSS](/packages/zacksleo-yii2-ueditor/feed)WikiDiscussions master Synced 3w ago

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

Yii2 135编辑/秀米编辑器器扩展
-------------------

[](#yii2-135编辑秀米编辑器器扩展)

[![Latest Stable Version](https://camo.githubusercontent.com/d9029c13be1811e8caee95d7c25fbe8d89b70d237b9e57f1f3515e2ec80b2587/68747470733a2f2f706f7365722e707567782e6f72672f7a61636b736c656f2f796969322d75656469746f722f76657273696f6e)](https://packagist.org/packages/zacksleo/yii2-ueditor)[![Total Downloads](https://camo.githubusercontent.com/34820ba4c99a2f9c8b733cdfdc33ea7440e7959899cfefe8a18f4f7483b60fca/68747470733a2f2f706f7365722e707567782e6f72672f7a61636b736c656f2f796969322d75656469746f722f646f776e6c6f616473)](https://packagist.org/packages/zacksleo/yii2-ueditor)[![License](https://camo.githubusercontent.com/665eedbd9e632b58ef41e3abd29721865602754dcfb1a8b21adf82a2dc866f78/68747470733a2f2f706f7365722e707567782e6f72672f7a61636b736c656f2f796969322d75656469746f722f6c6963656e7365)](https://packagist.org/packages/zacksleo/yii2-ueditor)

![Travis](https://camo.githubusercontent.com/48dca353b494316e5c61f21b14e8385a79319547d2245b07238fe1e7d062f1a1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f7a61636b736c656f2f796969322d75656469746f722e737667)[![Build Status](https://camo.githubusercontent.com/1ef33722c0cb4b18bd761577809eec0493cb2a3d16e6273924aed9a4315d0a99/68747470733a2f2f7472617669732d63692e6f72672f7a61636b736c656f2f796969322d75656469746f722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/zacksleo/yii2-ueditor)![Code Climate](https://camo.githubusercontent.com/b1282ed6730c85c62382344fa29b07294f7a26c495b6c1a0825c634658353c87/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636c696d6174652f6769746875622f7a61636b736c656f2f796969322d75656469746f722e737667)![Scrutinizer](https://camo.githubusercontent.com/0c2d0d44385e67ecf137e82e3ef13a768d7dffccb703f9fd6f8d738e5346b31e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7a61636b736c656f2f796969322d75656469746f722e737667)![Scrutinizer Coverage](https://camo.githubusercontent.com/5d01bfdab99749a0684bad0752f6625480359daee7f96a1328ba7658d2854e6b/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7a61636b736c656f2f796969322d75656469746f722e737667)

该插件根据[135编辑器企业插件](http://www.135plat.com/135_ueditor_plugin.html)和[秀米编辑器Ueditor插件](http://hgs.xiumi.us/uedit/)封装而来

用法
--

[](#用法)

### 1. 在 config/main 中配置 module 为:

[](#1-在-configmain-中配置-module-为)

```
 'ueditor' => [
     'class' => 'zacksleo\yii2\ueditor\Module'
 ]

```

### 2. 在页面中使用

[](#2-在页面中使用)

加载135编辑器插件:

```
use zacksleo\yii2\ueditor\assets\Editor135Asset;
Editor135Asset::register($this);

$this->registerJsFile('/admin/ueditor/i25/script',[
    'depends'=>[
        'kucha\ueditor\UeditorAsset'
    ]
]);

echo \kucha\ueditor\UEditor::widget([
    'name' => 'ueditor',
    'clientOptions' => [
        //编辑区域大小
        'initialFrameHeight' => '200',
        //设置语言
        'lang' => 'zh-cn', //中文为 zh-cn
        'zIndex' => '9995',
        //定制菜单
        'toolbars' => [
            [
                'fullscreen', 'source', 'undo', 'redo', '|',
                'fontsize',
                'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'removeformat',
                'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|',
                'forecolor', 'backcolor', '|',
                'lineheight', '|',
                'indent', '|', '135editor'
            ],
        ]
    ]
]);

```

加载秀米编辑器插件:

```
use zacksleo\yii2\ueditor\assets\EditorXiumiAsset;
EditorXiumiAsset::register($this);

$this->registerJsFile('/admin/ueditor/xiumi/script',[
    'depends'=>[
        'kucha\ueditor\UeditorAsset'
    ]
]);

echo \kucha\ueditor\UEditor::widget([
    'name' => 'ueditor',
    'clientOptions' => [
        //编辑区域大小
        'initialFrameHeight' => '200',
        //设置语言
        'lang' => 'zh-cn', //中文为 zh-cn
        'zIndex' => '9995',
        //定制菜单
        'toolbars' => [
            [
                'fullscreen', 'source', 'undo', 'redo', '|',
                'fontsize',
                'bold', 'italic', 'underline', 'fontborder', 'strikethrough', 'removeformat',
                'formatmatch', 'autotypeset', 'blockquote', 'pasteplain', '|',
                'forecolor', 'backcolor', '|',
                'lineheight', '|',
                'indent', '|', '135editor'
            ],
        ]
    ]
]);

```

### 3. 更多关于 \\kucha\\ueditor\\UEditor 的用法见[文档](https://github.com/BigKuCha/yii2-ueditor-widget)

[](#3-更多关于-kuchaueditorueditor-的用法见文档)

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

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

3411d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e97b8a6f67b09513e345a128d73a63898ae1ec9f6a6c77234c78b3f16d305d1?d=identicon)[zacksleo](/maintainers/zacksleo)

---

Top Contributors

[![zacksleo](https://avatars.githubusercontent.com/u/3369169?v=4)](https://github.com/zacksleo "zacksleo (12 commits)")

---

Tags

ueditoryii2-extensionyii2-ueditor

### Embed Badge

![Health badge](/badges/zacksleo-yii2-ueditor/health.svg)

```
[![Health](https://phpackages.com/badges/zacksleo-yii2-ueditor/health.svg)](https://phpackages.com/packages/zacksleo-yii2-ueditor)
```

###  Alternatives

[evoweb/sessionplaner

Sessionplaner for TYPO3Camps

119.4k](/packages/evoweb-sessionplaner)

PHPackages © 2026

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