PHPackages                             laramall/laravel-markdown - 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. laramall/laravel-markdown

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

laramall/laravel-markdown
=========================

一个laravel的markdown 解析器组件

v1.0.3(8y ago)42513[1 issues](https://github.com/bluetoothswh/laravel-markdown/issues)MITPHPPHP &gt;=7.0

Since Dec 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/bluetoothswh/laravel-markdown)[ Packagist](https://packagist.org/packages/laramall/laravel-markdown)[ RSS](/packages/laramall-laravel-markdown/feed)WikiDiscussions master Synced 2w ago

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

laravel-markdown
----------------

[](#laravel-markdown)

一个解析Markdown为html的laravel组件,兼容html和markdown

官网介绍
----

[](#官网介绍)

[larashuo视频教程网](https://larashuo.com)

站长微信
----

[](#站长微信)

[![](https://camo.githubusercontent.com/6e7b41d46b17bb12c9494a2f0e67e9b3826f95d58de379284ff50654b3a2d101/68747470733a2f2f6c6172617368756f2e636f6d2f66726f6e742f6c61726163617374732f696d616765732f6c6172617368756f2d6b662e706e67)](https://camo.githubusercontent.com/6e7b41d46b17bb12c9494a2f0e67e9b3826f95d58de379284ff50654b3a2d101/68747470733a2f2f6c6172617368756f2e636f6d2f66726f6e742f6c61726163617374732f696d616765732f6c6172617368756f2d6b662e706e67)

系统要求
====

[](#系统要求)

```
php >= 7.0

laravel >= 5.1

```

安装
--

[](#安装)

```
composer require laramall/laravel-markdown

```

配置
--

[](#配置)

```
php artisan vendor:publish

配置文件 config/markdown.php

'driver' => 'github'

driver可能的值

github解析模式
'driver'=>'github'

traditional markdown and parse full text
'driver'=>'all'

use markdown extra
'driver'=>'extra'

parse only inline elements (useful for one-line descriptions)
'driver'=>'inline'

```

使用
==

[](#使用)

```
使用github模式
Markdown::html('# 测试标题')
转化后的文字是
测试标题\n

使用all模式
Markdown::driver('all')->html('# 测试标题');
转化后的文字是
测试标题\n

使用extra模式
Markdown::driver('extra')->html('#{.red-text} 测试标题');
转化为
 测试标题\n

使用inline模式
Markdown::driver('inline')->html('# 测试标题');
转化为
#测试标题

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

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

Every ~0 days

Total

4

Last Release

3111d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7559687?v=4)[David Sun](/maintainers/bluetoothswh)[@bluetoothswh](https://github.com/bluetoothswh)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/laramall-laravel-markdown/health.svg)

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

###  Alternatives

[sproutcms/cms

Enterprise content management and framework

242.2k4](/packages/sproutcms-cms)

PHPackages © 2026

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