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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ivene/ueditor
=============

UEditor UEditor is a Rich Text Web Editor From Baidu.

0873↓100%JavaScript

Since May 10Pushed 3y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

UEditor
=======

[](#ueditor)

[UEditor](http://ueditor.baidu.com) 是由百度web前端研发部开发所见即所得富文本web编辑器

此包为laravel5的支持,新增多语言配置,可自由部署前端代码,默认基于 UEditor 1.4.3.3

UEditor 前台文件完全无修改,可自由gulp等工具部署到生产环境

根据系统的config.app.locale自动切换多语言. 暂时只支持 en,zh\_CN,zh\_TW

支持本地和七牛云存储,默认为本地上传 public/uploads

ChangeLog
---------

[](#changelog)

v1.4.5

增加laravel的storage的支持

增加阿里云存储的支持

增加Lumen5的provider支持

1.4.0 版 支持 laravel5.3 更新百度 UEditor 1.4.3.3

1.3.0 版 改变服务器请求路由 为 /laravel-u-editor-server/server 老版本升级,需要 更改 public/ueditor.config.js

```
        , serverUrl: "/laravel-u-editor-server/server"

```

1.2.5 版 增加对Laravel5.\* 的支持,更新百度 UEditor 1.4.3.1

1.2 版 增加对Laravel5.1 的支持,修改一些说明

1.1 版 增加七牛云存储的支持

Installation
------------

[](#installation)

[PHP](https://php.net) 5.4+ , and [Composer](https://getcomposer.org) are required.

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

```
"stevenyangecho/laravel-u-editor": "~1.4"

```

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.

- `'Stevenyangecho\UEditor\UEditorServiceProvider'`

If Lumen

- `$app->register(Stevenyangecho\UEditor\LumenUEditorServiceProvider);`

then run

- `php artisan vendor:publish`

配置
--

[](#配置)

For Laravel

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

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

```

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

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

For Lumen

如需要配置config 请将config/UEditorUpload.php 拷贝到项目config目录中 再配置

Usage
-----

[](#usage)

in your &lt;head&gt; 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 值.
    });

```

The detail useage Please see

TODO
----

[](#todo)

1. 跨域上传

License
-------

[](#license)

Laravel 5 UEditor is licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity22

Early-stage or recently created project

 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/4a204d6c5e5b240ae40f4df08f5312a8c14fe22e3bf9407aaa01c375fa87a37d?d=identicon)[Ivene](/maintainers/Ivene)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[bizley/contenttools

ContentTools editor implementation for Yii 2.

8016.7k](/packages/bizley-contenttools)

PHPackages © 2026

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