PHPackages                             jxlwqq/wang-editor2 - 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. jxlwqq/wang-editor2

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

jxlwqq/wang-editor2
===================

wang-editor2 for laravel-admin

1.0.0(7y ago)910.4k1[1 issues](https://github.com/jxlwqq/wangEditor2/issues)MITPHPPHP &gt;=7.0.0

Since Dec 4Pushed 7y agoCompare

[ Source](https://github.com/jxlwqq/wangEditor2)[ Packagist](https://packagist.org/packages/jxlwqq/wang-editor2)[ Docs](https://github.com/jxlwqq/wangEditor2)[ RSS](/packages/jxlwqq-wang-editor2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

wangEditor v2 extension for laravel-admin
=========================================

[](#wangeditor-v2-extension-for-laravel-admin)

这是一个`laravel-admin`扩展，用来将`wangEditor v2`集成进`laravel-admin`的表单中。

[v3版本点这里](https://github.com/laravel-admin-extensions/wangEditor)

截图
--

[](#截图)

[![editor](https://user-images.githubusercontent.com/2421068/49418548-abeb3c00-f7bd-11e8-9746-14916f8d8fa4.png)](https://user-images.githubusercontent.com/2421068/49418548-abeb3c00-f7bd-11e8-9746-14916f8d8fa4.png)

安装
--

[](#安装)

```
composer require jxlwqq/wang-editor2
```

然后

```
php artisan vendor:publish --tag=laravel-admin-wang-editor2
```

配置
--

[](#配置)

在`config/admin.php`文件的`extensions`，加上属于这个扩展的一些配置

```
'extensions' => [
    'wang-editor2' => [
        // 如果要关掉这个扩展，设置为false
        'enable' => true,
        // 编辑器的配置
        'config' => [
            'uploadImgFileName' => 'upload',
            'uploadImgUrl' => '/admin/upload',
            'menus' => [
                'source',
                '|',
                'bold',
                'underline',
                'italic',
                'strikethrough',
                'eraser',
                'forecolor',
                'bgcolor',
                '|',
                'quote',
                'fontfamily',
                'fontsize',
                'head',
                'unorderlist',
                'orderlist',
                'alignleft',
                'aligncenter',
                'alignright',
                '|',
                'link',
                'unlink',
                'table',
                '|',
                'img',
                'video',
                'insertcode',
                '|',
                'undo',
                'redo',
                'fullscreen'
            ],
        ]
    ]
]
```

编辑器的配置可以到[wangEditor v2 文档](https://www.kancloud.cn/wangfupeng/wangeditor2/113961)找到。

使用
--

[](#使用)

在form表单中使用它：

```
$form->editor('content');
```

More resources
--------------

[](#more-resources)

[Awesome Laravel-admin](https://github.com/jxlwqq/awesome-laravel-admin)

License
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance18

Infrequent updates — may be unmaintained

Popularity29

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

2713d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/84278d67776d72a3f5c3393df1841a3e49d8a90d8d69871a61c0a57265958f66?d=identicon)[jxlwqq](/maintainers/jxlwqq)

---

Top Contributors

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

---

Tags

extensionlaravel-admin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/jxlwqq-wang-editor2/health.svg)

```
[![Health](https://phpackages.com/badges/jxlwqq-wang-editor2/health.svg)](https://phpackages.com/packages/jxlwqq-wang-editor2)
```

###  Alternatives

[laravel-admin-ext/chartjs

Use Chartjs in laravel-admin

102180.6k1](/packages/laravel-admin-ext-chartjs)[laravel-admin-ext/china-distpicker

Distpicker extension for laravel-admin

13443.9k](/packages/laravel-admin-ext-china-distpicker)[laravel-admin-ext/grid-sortable

Sort the grid data by drag and drop rows

42119.3k](/packages/laravel-admin-ext-grid-sortable)[jxlwqq/json-editor

JSON Editor for Laravel-admin

32101.8k](/packages/jxlwqq-json-editor)[jxlwqq/env-manager

Env Manager for Laravel-admin

3719.9k](/packages/jxlwqq-env-manager)[jxlwqq/quill

quill editor for laravel-admin

2427.1k](/packages/jxlwqq-quill)

PHPackages © 2026

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