PHPackages                             yiichina/yii2-md-editor - 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. yiichina/yii2-md-editor

ActiveYii2-extension[Parsing &amp; Serialization](/categories/parsing)

yiichina/yii2-md-editor
=======================

Yii2 中使用 Markdown 在线文本编辑器

v1.1.10(2y ago)146013[1 issues](https://github.com/yiichina/yii2-md-editor/issues)BSD-3-ClausePHP

Since Jul 15Pushed 2y ago2 watchersCompare

[ Source](https://github.com/yiichina/yii2-md-editor)[ Packagist](https://packagist.org/packages/yiichina/yii2-md-editor)[ RSS](/packages/yiichina-yii2-md-editor/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (10)Dependencies (9)Versions (33)Used By (0)

Yii2 Markdown Editor
====================

[](#yii2-markdown-editor)

安装
--

[](#安装)

安装这个扩展的首选方法是通过 [composer](http://getcomposer.org/download/)。

可以运行

```
composer require --prefer-dist yiichina/yii2-md-editor "*"

```

也可以添加

```
"yiichina/yii2-md-editor": "*"

```

到你的 `composer.json` 文件的包含部分。

### 安装数据库

[](#安装数据库)

```
yii migrate/up --migrationPath=@vendor/yiichina/yii2-md-editor/migrations

```

### 创建上传目录

[](#创建上传目录)

在web目录创建uploads目录并给写权限：

```
mkdir -p -m 777 web/uploads

```

### 增加控制器映射

[](#增加控制器映射)

在config/main.php中加入以下代码：

```
'controllerMap' => [
    'attachment' => 'yiichina\mdeditor\controllers\AttachmentController',
],

```

文档和 Demo
--------

[](#文档和-demo)

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance19

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~70 days

Recently: every ~459 days

Total

32

Last Release

1053d ago

Major Versions

v0.11.0 → v1.0.02017-09-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/a9b19e311c51f8b86ef7b3954a49f3485148070700be08dfd336efdb82ecf068?d=identicon)[cuiliang](/maintainers/cuiliang)

---

Top Contributors

[![cuileon](https://avatars.githubusercontent.com/u/313312?v=4)](https://github.com/cuileon "cuileon (36 commits)")[![cui-liang](https://avatars.githubusercontent.com/u/45895684?v=4)](https://github.com/cui-liang "cui-liang (6 commits)")

---

Tags

editormarkdownmarkdown-editoryii2yii2-extensionmarkdownyii2extensioneditor

### Embed Badge

![Health badge](/badges/yiichina-yii2-md-editor/health.svg)

```
[![Health](https://phpackages.com/badges/yiichina-yii2-md-editor/health.svg)](https://phpackages.com/packages/yiichina-yii2-md-editor)
```

###  Alternatives

[kartik-v/yii2-markdown

Advanced Markdown editing and conversion utilities for Yii Framework 2.0

88265.8k6](/packages/kartik-v-yii2-markdown)[kdn/yii2-json-editor

JSON editor widget (josdejong/jsoneditor) for Yii 2.

22570.0k3](/packages/kdn-yii2-json-editor)[laravel-admin-ext/simplemde

Simplemde markdown editor extension for laravel-admin

3346.5k1](/packages/laravel-admin-ext-simplemde)

PHPackages © 2026

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