PHPackages                             arryuu/parsedown - 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. arryuu/parsedown

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

arryuu/parsedown
================

Parser for Markdown.

02PHP

Since Apr 21Pushed 6y ago1 watchersCompare

[ Source](https://github.com/arryuu/parsedown)[ Packagist](https://packagist.org/packages/arryuu/parsedown)[ RSS](/packages/arryuu-parsedown/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

parsedown - 一个解析md的php库
=======================

[](#parsedown---一个解析md的php库)

修改库的原地址，有疑问的话可以自己去查看文档或代码，我只是一个大自然的搬运工^-^
-----------------------------------------

[](#修改库的原地址有疑问的话可以自己去查看文档或代码我只是一个大自然的搬运工-)

为什么要修改
------

[](#为什么要修改)

因为有一个需求要多行换行，而从文档上没看到有相关设置，也可能是我没看到吧，所以才有了这个，然后这个库我也没从composer下载下来测试过，因为我是直接抽出来的，所以就..

增加的配置设置
-------

[](#增加的配置设置)

其他设置跟原来的一样就是增加了一个setReplaceBrFlag方法(0:默认1:多个\\n标签替换为br标签)
按道理使用如下:

```
use arryuu\parsedown\Parsedown;

$Parsedown = new Parsedown();
$text = '我是一段需要解密的md';
$parseText = $Parsedown->setSafeMode(false)
                       ->setReplaceBrFlag(1)
                       ->text($text);
```

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity34

Early-stage or recently created project

 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://avatars.githubusercontent.com/u/41986448?v=4)[arryuu](/maintainers/arryuu)[@arryuu](https://github.com/arryuu)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/arryuu-parsedown/health.svg)

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

###  Alternatives

[mck89/peast

Peast is PHP library that generates AST for JavaScript code

19139.2M45](/packages/mck89-peast)[sauladam/shipment-tracker

Parses tracking information for several carriers, like UPS, USPS, DHL and GLS by simply scraping the data. No need for any kind of API access.

9843.5k](/packages/sauladam-shipment-tracker)[jstewmc/rtf

Read and write Rich Text Format (RTF) documents with PHP

45153.1k6](/packages/jstewmc-rtf)[tcds-io/php-jackson

A lightweight, flexible object serializer for PHP, inspired by FasterXML/jackson

113.2k10](/packages/tcds-io-php-jackson)

PHPackages © 2026

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