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

ActiveLibrary

terranc/ueditor
===============

UEditor extension for laravel-admin

3.0.1(3y ago)0511MITPHPPHP &gt;=7.0.0

Since Oct 28Pushed 3y agoCompare

[ Source](https://github.com/terranc/UEditor)[ Packagist](https://packagist.org/packages/terranc/ueditor)[ Docs](https://github.com/terranc/UEditor)[ RSS](/packages/terranc-ueditor/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (9)Used By (0)

UEditor extension for laravel-admin
===================================

[](#ueditor-extension-for-laravel-admin)

这是一个 `laravel-admin` 扩展，用来将 [UEditor](https://ueditor.baidu.com/website/index.html) 集成进 `laravel-admin` 的表单中，依赖 [overtrue/laravel-ueditor](https://github.com/overtrue/laravel-ueditor) 依赖 [codingyu/laravel-ueditor](https://github.com/codingyu/laravel-ueditor)

安装
--

[](#安装)

```
composer require codingyu/ueditor
```

发布资源

```
// V3.*
php artisan vendor:publish --provider=Codingyu\LaravelUEditor\UEditorServiceProvider
// V2.*
php artisan vendor:publish --provider=Overtrue\LaravelUEditor\UEditorServiceProvider
```

配置
--

[](#配置)

在`config/admin.php`文件的`extensions`，加上属于这个扩展的一些配置

```
    'extensions' => [

        'ueditor' => [

            // 如果要关掉这个扩展，设置为false
            'enable' => true,

            // 编辑器的前端配置 参考：http://fex.baidu.com/ueditor/#start-config
            'config' => [
                'initialFrameHeight' => 400, // 例如初始化高度
            ],
            // 'field_type' => '自定义名字'
        ]
    ]
```

后端配置 `config/ueditor.php`，参考 [overtrue/laravel-ueditor](https://github.com/overtrue/laravel-ueditor) [codingyu/laravel-ueditor](https://github.com/codingyu/laravel-ueditor)

使用
--

[](#使用)

### 2.\* | 3.\*

[](#2--3)

组件名可配置，默认 `UEditor`

在form表单中使用它：

```
$form->UEditor('content');
// options 中参数会覆盖 extensions.ueditor.config 中参数
$form->UEditor('content')->options(['initialFrameHeight' => 800]);

// 如果 extensions.ueditor.field_type 定义为 xxxEditor
// $form->xxxEditor('content');
```

### 1.\*

[](#1)

在form表单中使用它：

```
$form->editor('content');
// options 中参数会覆盖 extensions.ueditor.config 中参数
$form->editor('content')->options(['initialFrameHeight' => 800]);

// 升级2.* 后，不改代码兼容 1.*：可以配置  extensions.ueditor.field_type 为 editor
```

大感谢
---

[](#大感谢)

- [laravel-admin](https://github.com/z-song/laravel-admin)
- [overtrue/laravel-ueditor](https://github.com/overtrue/laravel-ueditor)

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 71.4% 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

Every ~283 days

Recently: every ~331 days

Total

6

Last Release

1342d ago

Major Versions

1.0.2 → 2.0.02019-03-19

2.0.1 → 3.0.12022-09-12

### Community

Maintainers

![](https://www.gravatar.com/avatar/e7a6d99f98f7816b74eaeb19e965fc77ff2647e506e4317fa3cbe1162dc65a37?d=identicon)[terranc](/maintainers/terranc)

---

Top Contributors

[![codingyu](https://avatars.githubusercontent.com/u/20354841?v=4)](https://github.com/codingyu "codingyu (15 commits)")[![terranc](https://avatars.githubusercontent.com/u/224353?v=4)](https://github.com/terranc "terranc (5 commits)")[![Hanson](https://avatars.githubusercontent.com/u/10583423?v=4)](https://github.com/Hanson "Hanson (1 commits)")

---

Tags

extensionueditorlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[codingyu/ueditor

UEditor extension for laravel-admin

6471.6k](/packages/codingyu-ueditor)[laravel-admin-ext/china-distpicker

Distpicker extension for laravel-admin

13443.9k](/packages/laravel-admin-ext-china-distpicker)[laravel-admin-ext/grid-lightbox

Turn your grid into a lightbox &amp; gallery

58180.9k2](/packages/laravel-admin-ext-grid-lightbox)[james.xue/login-captcha

laravel-admin 登录验证码

3725.4k](/packages/jamesxue-login-captcha)[jxlwqq/quill

quill editor for laravel-admin

2427.1k](/packages/jxlwqq-quill)[laravel-admin-ext/sparkline

Integrates jQuery sparkline into laravel-admin

161.1k](/packages/laravel-admin-ext-sparkline)

PHPackages © 2026

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