PHPackages                             yii-china.com/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. yii-china.com/yii2-ueditor

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

yii-china.com/yii2-ueditor
==========================

The ueditor extension for the Yii framework

17117[1 issues](https://github.com/org-yii-china/yii2-ueditor/issues)PHP

Since Apr 19Pushed 10y ago1 watchersCompare

[ Source](https://github.com/org-yii-china/yii2-ueditor)[ Packagist](https://packagist.org/packages/yii-china.com/yii2-ueditor)[ RSS](/packages/yii-chinacom-yii2-ueditor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Yii2.0.7 扩展-百度编辑器（Ueditor）

描述：

最佳适用于yii2.0 高级版（advanced）应用框架

版本相关：

Yii：2.0.6

Ueditor：1.4.3.1 （php版本）

来源：

安装方法：

1.下载yii2-ueditor

2.将下载的yii2-ueditor-master 修改 ueditor (注意：修改成其他文件名请修改插件内对应的命名空间)

3.将文件方在 根目录/common/widgets 下即可

调用方法：

在rootPath/backend/controllers中新建一个控制器加入以下代码

```
public function actions(){
    return [
        'upload'=>[
            'class' => 'common\widgets\ueditor\UeditorAction',
            'config'=>[
                //上传图片配置
                'imageUrlPrefix' => "", /* 图片访问路径前缀 */
                'imagePathFormat' => "/image/{yyyy}{mm}{dd}/{time}{rand:6}", /* 上传保存路径,可以自定义保存路径和文件名格式 */
            ]
        ]
    ];
}

```

第一种调用方式：

在对应的渲染页面，即views下的页面中

\['initialFrameWidth' =&gt; 850,\]\])?&gt; options 填写配置编辑器的参数（参考ueditor官网）

第二种调用方式：

```

  ...

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/13dbd7683d3c4ae1f22f829953cc5f5f12e9ad3207d6a7c9e48af96365344ef6?d=identicon)[yii-china.com](/maintainers/yii-china.com)

---

Top Contributors

[![Huangxianan](https://avatars.githubusercontent.com/u/14814279?v=4)](https://github.com/Huangxianan "Huangxianan (13 commits)")

### Embed Badge

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

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

PHPackages © 2026

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