PHPackages                             chenhua/laravel5-kindeditor - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. chenhua/laravel5-kindeditor

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

chenhua/laravel5-kindeditor
===========================

The best HTML Editor of Laravel 5 KindEditor

1.0(7y ago)41.1kMITJavaScript

Since Jun 15Pushed 7y ago1 watchersCompare

[ Source](https://github.com/ichenhua/laravel5-kindeditor)[ Packagist](https://packagist.org/packages/chenhua/laravel5-kindeditor)[ Docs](http://www.ichenhua.cn)[ RSS](/packages/chenhua-laravel5-kindeditor/feed)WikiDiscussions master Synced 1w ago

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

Laravel5-KindEditor
-------------------

[](#laravel5-kindeditor)

Laravel5-KindEditor 是基于 KindEditor 封装的 Markdown 在线HTMl编辑器，支持 Laravel5 项目。已集成本地、七牛云、阿里云文件存储。

更新记录
----

[](#更新记录)

- 2018-06-15 `Release v1.0.0` 完成 KindEditor 在线编辑器主程序，且集成本地、七牛、阿里云oss存储。

安装流程
----

[](#安装流程)

1、安装的两种方式

① 直接编辑配置文件

将以下内容增加到 composer.json：

```
require: {
    "chenhua/laravel5-kindeditor": "~1.0"
}
```

然后运行 `composer update`。

② 执行命令安装

运行命令：

```
composer require chenhua/laravel5-kindeditor
```

2、完成上面的操作后，修改 `config/app.php` 中 `providers` 数组

```
Chenhua\Kindeditor\KindeditorServiceProvider::class,
```

3、执行 `artisan` 命令，生成 `config/kindeditor.php` 配置文件

```
php artisan vendor:publish --tag=kindeditor
```

4、修改 `config/kindeditor.php` 配置文件

```
 'local', //默认返回存储位置url
    "dirver"      => ['local'], //存储平台 ['local', 'qiniu', 'aliyun']
    "connections" => [
        "local"  => [
            'prefix' => 'uploads/kindeditor', //本地存储位置，默认uploads
        ],
        "qiniu"  => [
            'access_key' => '',
            'secret_key' => '',
            'bucket'     => '',
            'prefix'     => '', //文件前缀 file/of/path
            'domain'     => '' //七牛自定义域名
        ],
        "aliyun" => [
            'ak_id'     => '',
            'ak_secret' => '',
            'end_point'  => '',
            'bucket'    => '',
            'prefix'    => '',
        ],
    ],
];
```

> 七牛和阿里云的配置内容，需要去对应官网申请账号并配置获取，此处省略一万字。。。

使用方法
----

[](#使用方法)

### 在 `xxx.blade.php` 编辑器相应位置添加如下代码：

[](#在-xxxbladephp-编辑器相应位置添加如下代码)

```

    HTML内容

@include('kindeditor::editor',['editor'=>'editor_id'])
```

> 以上操作能生成一个 `id="editor"` 的 `HTML` 文本编辑框，并能实时预览效果.

更多用法可以参考 `KindEditor` 官方文档，[解锁更多姿势&gt;&gt;&gt;](http://kindeditor.net/doc.php)

### 效果展示

[](#效果展示)

default样式： [![markdown.png](./images/kindeditor.png)](./images/kindeditor.png)

License
-------

[](#license)

本扩展遵循 [MIT license](http://opensource.org/licenses/MIT) 开源。

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

2895d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7a64653b1bb58634ac5b34fa0f5dc099acfda93bc5dedd5122f79f9a9727fa08?d=identicon)[chenhua](/maintainers/chenhua)

---

Top Contributors

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

---

Tags

laravelmarkdowneditor

### Embed Badge

![Health badge](/badges/chenhua-laravel5-kindeditor/health.svg)

```
[![Health](https://phpackages.com/badges/chenhua-laravel5-kindeditor/health.svg)](https://phpackages.com/packages/chenhua-laravel5-kindeditor)
```

###  Alternatives

[chenhua/laravel5-markdown-editor

The best Markdown Editor of Laravel 5

346.3k](/packages/chenhua-laravel5-markdown-editor)[buzzylab/laradown

A New Markdown parser for Laravel built on parsedown

317.3k](/packages/buzzylab-laradown)[torchlight/torchlight-commonmark

A Commonmark extension for Torchlight, the syntax highlighting API.

29256.6k6](/packages/torchlight-torchlight-commonmark)

PHPackages © 2026

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