PHPackages                             sohenk/wangeditor - 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. [File &amp; Storage](/categories/file-storage)
4. /
5. sohenk/wangeditor

ActiveLibrary[File &amp; Storage](/categories/file-storage)

sohenk/wangeditor
=================

wangeditor3 for laravel5.suport qiniu,storage upload

124JavaScript

Since Jun 9Pushed 7y ago1 watchersCompare

[ Source](https://github.com/sohenk/wangeditor3forlaravel)[ Packagist](https://packagist.org/packages/sohenk/wangeditor)[ RSS](/packages/sohenk-wangeditor/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel-WangEditor
==================

[](#laravel-wangeditor)

WangEditor3 for Laravel 5.

> [`wangEditor`](http://www.wangEditor.com) 是一款基于javascript和css开发的html富文本编辑器，开源免费。

[![Latest Stable Version](https://camo.githubusercontent.com/e09ff6eb8e3e4db98d0b3bb1127cdc464b6d323608090d02bf350d7663db28b6/68747470733a2f2f706f7365722e707567782e6f72672f7365616f6e792f77616e67656469746f722f762f737461626c652e7376673f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/seaony/wangeditor)[![Latest Unstable Version](https://camo.githubusercontent.com/803f1d07fc1a5ab37f1e456d2d2d727eb4aa67f9ce335888b5c353ef27834d03/68747470733a2f2f706f7365722e707567782e6f72672f7365616f6e792f77616e67656469746f722f762f756e737461626c652e7376673f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/seaony/wangeditor)[![License](https://camo.githubusercontent.com/8f4229a60fa6d2346a54fa0321c5c5e94df3211454565e74fcd253b19eca5a63/68747470733a2f2f706f7365722e707567782e6f72672f7365616f6e792f77616e67656469746f722f6c6963656e73653f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/seaony/wangeditor)[![Total Downloads](https://camo.githubusercontent.com/306ed858ddf5f945cc986d3b76fe986293622b3a2f85fd4bf222f4629e5e0a3c/68747470733a2f2f706f7365722e707567782e6f72672f7365616f6e792f77616e67656469746f722f646f776e6c6f6164733f666f726d61743d666c61742d737175617265)](https://packagist.org/packages/seaony/wangeditor)

Install
-------

[](#install)

```
$ composer require sohenk/wangeditor:dev-master
```

Contributing
------------

[](#contributing)

1. 将下面这行添加到 `config/app.php` 中 `providers` 数组里：

    ```
    Sohenk\WangEditor\WangEditorProvider::class,
    ```
2. 发布资源与配置文件

    ```
    $ php artisan vendor:publish --provider='Sohenk\WangEditor\WangEditorProvider'
    ```
3. 在你的模板中引入资源文件,`id` 为你的编辑器容器 id

    ```
    @include('vendor.wangeditor.initialize', ['id' => 'PickEditor'])
    ```
4. 创建 `storage` 到 `public` 的软链接

    ```
    $ php artisan storage:link
    ```
5. 正确配置你 `.env` 文件中的域名

    ```
    APP_URL=yourdomain
    ```

七牛云支持
=====

[](#七牛云支持)

如果你想使用七牛云储存：

1.安装和配置 [laravel-filesystem-qiniu](https://github.com/overtrue/laravel-filesystem-qiniu)

2.配置 `config/wangeditor.php` 的 `disk` 为 `qiniu`:

```
'upload' => [

    ...

    'disk' => 'qiniu'
],
```

阿里云支持
=====

[](#阿里云支持)

如果你想使用阿里云存储：

1.安装和配置 [aliyun-oss-storage](https://github.com/jacobcyl/Aliyun-oss-storage)

2.配置 `config/wangeditor.php` 的 `disk` 为 `aliyun`:

```
'upload' => [

    ...

    'disk' => 'aliyun'
],
```

又拍云支持
=====

[](#又拍云支持)

请参考 `七牛云支持` 和 `阿里云支持`

Thanks
======

[](#thanks)

[@overtrue](https://github.com/overtrue) [@Seaony](https://github.com/Seaony)

License
=======

[](#license)

MIT

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/278d239d1b6e49648931335d5146edcac872a55e88c0cf4a1ff94a2f6f999759?d=identicon)[sohenk](/maintainers/sohenk)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sohenk-wangeditor/health.svg)

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

###  Alternatives

[knplabs/gaufrette

PHP library that provides a filesystem abstraction layer

2.5k39.8M123](/packages/knplabs-gaufrette)[google/cloud-storage

Cloud Storage Client for PHP

34390.8M123](/packages/google-cloud-storage)[illuminate/filesystem

The Illuminate Filesystem package.

15261.6M2.6k](/packages/illuminate-filesystem)[superbalist/flysystem-google-storage

Flysystem adapter for Google Cloud Storage

26320.6M30](/packages/superbalist-flysystem-google-storage)[creocoder/yii2-flysystem

The flysystem extension for the Yii framework

2931.7M62](/packages/creocoder-yii2-flysystem)[flowjs/flow-php-server

PHP library for handling chunk uploads. Works with flow.js html5 file uploads.

2451.6M15](/packages/flowjs-flow-php-server)

PHPackages © 2026

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