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

ActiveLibrary

liaodan100/ueditor
==================

UEditor extension for laravel-admin

1.0.0(3y ago)011MITPHPPHP &gt;=7.0.0

Since Jun 22Pushed 3y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)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 liaodan100/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.*

[](#23)

组件名可配置，默认 `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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1425d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/69eaf03f246fc11ef0fc0e82d1b6111a235a0b2e50314fbcb0009e739e9e04d1?d=identicon)[liaodan](/maintainers/liaodan)

---

Top Contributors

[![liaodan100](https://avatars.githubusercontent.com/u/15657113?v=4)](https://github.com/liaodan100 "liaodan100 (3 commits)")

---

Tags

extensionueditorlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[codingyu/ueditor

UEditor extension for laravel-admin

6471.6k](/packages/codingyu-ueditor)[laravel-admin-ext/grid-lightbox

Turn your grid into a lightbox &amp; gallery

58180.9k2](/packages/laravel-admin-ext-grid-lightbox)[laravel-admin-ext/wang-editor

wangEditor extension for laravel-admin

6283.4k](/packages/laravel-admin-ext-wang-editor)[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)
