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

ActiveLibrary

lichv/laravel-ueditor
=====================

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

0.2(9y ago)1128MITJavaScriptPHP &gt;=5.4.0

Since Dec 15Pushed 9y ago1 watchersCompare

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

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

\#Installation

PHP 5.4+ , and Composer are required.

To get the latest version of Laravel Exceptions, simply add the following line to the require block of your composer.json file:

```
"lichv/laravel-ueditor": "^0.1"

```

You'll then need to run composer install or composer update to download it and have the autoloader updated.

Once Laravel Exceptions is installed, you need to register the service provider. Open up config/app.php and add the following to the providers key.

```
'Lichv\UEditor\UEditorServiceProvider'

```

then run

```
php artisan vendor:publish

```

\#配置

若以上安装没问题,自定义项目配置文件会在 config/laravel-u-editor.php (会自动生成)

```
    'core' => [
        'route' => [
            'middleware' => 'auth',
        ],
    ],

```

middleware 相当重要,请根据自己的项目设置,比如如果在后台使用,请设置为后台的auth middleware. 如果是单纯本机测试,请将 // 'middleware' =&gt; 'auth', 直接注释掉,如果留 'middleware'=&gt;''空值,会产生bug,原因不详.

所有UEditor 的官方资源,会放在 public/laravel-u-editor/ ,可以根据自己的需求,更改.

Usage

in your block just put

```
@include('UEditor::head');

```

it will require assets.

if need,u can change the resources\\views\\vendor\\UEditor\\head.blade.php to fit your customization .

ok,all done.just use the UEditor.

```

    这里写你的初始化内容

    var ue = UE.getEditor('container');
        ue.ready(function() {
        ue.execCommand('serverparam', '_token', '{{ csrf_token() }}');//此处为支持laravel5 csrf ,根据实际情况修改,目的就是设置 _token 值.
    });

```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Every ~53 days

Total

2

Last Release

3379d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/30b7ccf2dd59504e060829498bb2125e1dd3db07c124192ac4767a49f04dc69b?d=identicon)[lichv](/maintainers/lichv)

---

Top Contributors

[![lichv](https://avatars.githubusercontent.com/u/19921475?v=4)](https://github.com/lichv "lichv (26 commits)")

---

Tags

laravelueditorlaravel-ueditorlaravel5 web text editorlichv

### Embed Badge

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

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

###  Alternatives

[stevenyangecho/laravel-u-editor

UEditor for laravel5. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

30990.7k2](/packages/stevenyangecho-laravel-u-editor)[menthe/aliyun-ueditor

UEditor for laravel5 and Aliyun OSS.Store all images and files in Aliyun OSS. Support i18n. UEditor is a Rich Text Web Editor From Baidu.

172.4k](/packages/menthe-aliyun-ueditor)

PHPackages © 2026

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