PHPackages                             wenslim/laravel-neditor - 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. wenslim/laravel-neditor

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

wenslim/laravel-neditor
=======================

neditor for laravel

v1.1.0(6y ago)04[1 PRs](https://github.com/wenslim/laravel-neditor/pulls)MITPHP

Since Jan 17Pushed 2y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (4)Used By (0)

laravel-neditor
===============

[](#laravel-neditor)

简介
--

[](#简介)

`Neditor` 是基于 `Ueditor` 的一款现代化界面的富文本编辑器

官方演示: [demo](https://demo.neditor.notadd.com/)

此项目为 `neditor` 的扩展针对 Laravel 5.5+

使用
--

[](#使用)

> `neditor`: [官方地址](https://github.com/notadd/neditor)

[![效果](https://camo.githubusercontent.com/57515346cb99e9c19e6fb942f0fc3a1ddf6124a71a0e606f488f1164c34e68f8/68747470733a2f2f7777772e6e6f746164642e636f6d2f7372632f6e656469746f722d64656d6f2e77656270)](https://camo.githubusercontent.com/57515346cb99e9c19e6fb942f0fc3a1ddf6124a71a0e606f488f1164c34e68f8/68747470733a2f2f7777772e6e6f746164642e636f6d2f7372632f6e656469746f722d64656d6f2e77656270)

### 安装

[](#安装)

```
$ composer require wenslim/neditor
```

### 配置

[](#配置)

生成配置与资源文件

```
$ php artisan vendor:publish --provider="Wenslim\Neditor\Providers\NeditorServiceProvider"
```

### 图片上传

[](#图片上传)

#### 本地上传

[](#本地上传)

修改配置 `config/neditor.php`

```
return [
    .
    .
    .
    'uploadType' => 'local',
    'imageUrlPrefix' => 'https://your-domain/',
];
```

定义存储 `config/filesystems.php`

```
.
.
.

'disks' => [
    .
    .
    .
    'neditor' => [
        'driver' => 'local',
        'root' => public_path('images'),
    ],
],
```

#### 七牛云

[](#七牛云)

修改配置 `config/neditor.php`

```
return [
    .
    .
    .
    'uploadType' => 'qiniu',
    'imageUrlPrefix' => 'https://你的七牛加速地址/',
];
```

定义存储 `config/filesystems.php`

```
.
.
.

'disks' => [
    .
    .
    .
    'qiniu' => [
        'access_key' => env('QINIU_ACCESS_KEY'),
        'secret_key' => env('QINIU_SECRET_KEY'),
        'bucket'     => env('QINIU_BUCKET'),
        'domain'     => env('QINIU_DOMAIN'),
    ],
],
```

```
QINIU_ACCESS_KEY=xxxxxx
QINIU_SECRET_KEY=xxxxxx
QINIU_BUCKET=xxxxxx # 如: images
QINIU_DOMAIN=xxxxxx # 如: images.your-domian.com

```

### 模板

[](#模板)

```
.
.
.

{!! neditor_assets() !!}
```

说明
--

[](#说明)

1. 配置项可在 `config/neditor.php` 中自定义
2. 对于上传图片成功，但是无法正确显示请检查网络请求与你的配置是否正确

License
=======

[](#license)

MIT

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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 ~2 days

Total

2

Last Release

2305d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0244f4a24cff48db8596c2c11eb725792f0866614f52c66a75527b1282fea0ac?d=identicon)[Wenslim](/maintainers/Wenslim)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/wenslim-laravel-neditor/health.svg)

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

PHPackages © 2026

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