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

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

intelogie/parsedown
===================

Parser for Markdown.

1.6.2(9y ago)044MITPHPPHP &gt;=5.3.0

Since Jul 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/INTELOGIE/parsedown)[ Packagist](https://packagist.org/packages/intelogie/parsedown)[ Docs](http://parsedown.org)[ RSS](/packages/intelogie-parsedown/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (66)Used By (0)

> You might also like [Caret](https://caret.io?ref=parsedown) - our Markdown editor for Mac / Windows / Linux.

Parsedown
---------

[](#parsedown)

[![Build Status](https://camo.githubusercontent.com/53d93d83c139f342e447126817e14b3057a385d5d352bc0e769da9e602a7e4fc/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6572757365762f7061727365646f776e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/erusev/parsedown)

Better Markdown Parser in PHP

[Demo](http://parsedown.org/demo) | [Benchmarks](http://parsedown.org/speed) | [Tests](http://parsedown.org/tests/) | [Documentation](https://github.com/erusev/parsedown/wiki/)

### Features

[](#features)

- One File
- Super Fast
- Extensible
- [GitHub flavored](https://help.github.com/articles/github-flavored-markdown)
- Tested in 5.3 to 7.1 and in HHVM
- [Markdown Extra extension](https://github.com/erusev/parsedown-extra)

### Installation

[](#installation)

Include `Parsedown.php` or install [the composer package](https://packagist.org/packages/erusev/parsedown).

### Example

[](#example)

```
$Parsedown = new Parsedown();

echo $Parsedown->text('Hello _Parsedown_!'); # prints: Hello Parsedown!
```

More examples in [the wiki](https://github.com/erusev/parsedown/wiki/) and in [this video tutorial](http://youtu.be/wYZBY8DEikI).

### Questions

[](#questions)

**How does Parsedown work?**

It tries to read Markdown like a human. First, it looks at the lines. It’s interested in how the lines start. This helps it recognise blocks. It knows, for example, that if a line starts with a `-` then perhaps it belongs to a list. Once it recognises the blocks, it continues to the content. As it reads, it watches out for special characters. This helps it recognise inline elements (or inlines).

We call this approach "line based". We believe that Parsedown is the first Markdown parser to use it. Since the release of Parsedown, other developers have used the same approach to develop other Markdown parsers in PHP and in other languages.

**Is it compliant with CommonMark?**

It passes most of the CommonMark tests. Most of the tests that don't pass deal with cases that are quite uncommon. Still, as CommonMark matures, compliance should improve.

**Who uses it?**

[phpDocumentor](http://www.phpdoc.org/), [October CMS](http://octobercms.com/), [Bolt CMS](http://bolt.cm/), [Kirby CMS](http://getkirby.com/), [Grav CMS](http://getgrav.org/), [Statamic CMS](http://www.statamic.com/), [Herbie CMS](http://www.getherbie.org/), [RaspberryPi.org](http://www.raspberrypi.org/), [Symfony demo](https://github.com/symfony/symfony-demo) and [more](https://packagist.org/packages/erusev/parsedown/dependents).

**How can I help?**

Use it, star it, share it and if you feel generous, [donate](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=528P3NZQMP8N2).

### Intelogie changes

[](#intelogie-changes)

**Alerts**

Added support for bootstrap alerts using the ? character. Multiple ? will change the alert type see below.

- ? {fa-bug} This is a test alert success message
- ?? {fa-warning} This is a test alert info message
- ??? This is a test alert primary message
- ???? This is a test alert system message
- ????? This is a test alert warning message
- ?????? This is a test alert danger message

**Font awesome icons**

For fontawesome icons, the class name of the icon must be between curly faces example : {fa-bug}

###  Health Score

32

—

LowBetter than 71% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 83.8% 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 ~21 days

Recently: every ~175 days

Total

65

Last Release

3327d ago

Major Versions

0.9.4 → 1.0.0-rc.12014-04-17

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cd960536c07e255b2e6f7e55c03c6d09274b215ccceaccc38926ffe03e098a7?d=identicon)[bgauthier](/maintainers/bgauthier)

---

Top Contributors

[![erusev](https://avatars.githubusercontent.com/u/184170?v=4)](https://github.com/erusev "erusev (449 commits)")[![hkdobrev](https://avatars.githubusercontent.com/u/506129?v=4)](https://github.com/hkdobrev "hkdobrev (20 commits)")[![aidantwoods](https://avatars.githubusercontent.com/u/3288888?v=4)](https://github.com/aidantwoods "aidantwoods (20 commits)")[![wkpark](https://avatars.githubusercontent.com/u/232347?v=4)](https://github.com/wkpark "wkpark (6 commits)")[![rhukster](https://avatars.githubusercontent.com/u/1084697?v=4)](https://github.com/rhukster "rhukster (6 commits)")[![bgauthier](https://avatars.githubusercontent.com/u/1789355?v=4)](https://github.com/bgauthier "bgauthier (4 commits)")[![jmsv](https://avatars.githubusercontent.com/u/14852491?v=4)](https://github.com/jmsv "jmsv (3 commits)")[![KaneCohen](https://avatars.githubusercontent.com/u/578455?v=4)](https://github.com/KaneCohen "KaneCohen (3 commits)")[![naNuke](https://avatars.githubusercontent.com/u/4591126?v=4)](https://github.com/naNuke "naNuke (3 commits)")[![PhrozenByte](https://avatars.githubusercontent.com/u/920356?v=4)](https://github.com/PhrozenByte "PhrozenByte (2 commits)")[![HelpingHand1](https://avatars.githubusercontent.com/u/197991695?v=4)](https://github.com/HelpingHand1 "HelpingHand1 (2 commits)")[![cebe](https://avatars.githubusercontent.com/u/189796?v=4)](https://github.com/cebe "cebe (2 commits)")[![grogy](https://avatars.githubusercontent.com/u/1322983?v=4)](https://github.com/grogy "grogy (2 commits)")[![josephok](https://avatars.githubusercontent.com/u/5212375?v=4)](https://github.com/josephok "josephok (1 commits)")[![jstanden](https://avatars.githubusercontent.com/u/63288?v=4)](https://github.com/jstanden "jstanden (1 commits)")[![teaqu](https://avatars.githubusercontent.com/u/583418?v=4)](https://github.com/teaqu "teaqu (1 commits)")[![kelunik](https://avatars.githubusercontent.com/u/2743004?v=4)](https://github.com/kelunik "kelunik (1 commits)")[![MechanicalMann](https://avatars.githubusercontent.com/u/2583176?v=4)](https://github.com/MechanicalMann "MechanicalMann (1 commits)")[![pjona](https://avatars.githubusercontent.com/u/170732?v=4)](https://github.com/pjona "pjona (1 commits)")[![donatj](https://avatars.githubusercontent.com/u/133747?v=4)](https://github.com/donatj "donatj (1 commits)")

---

Tags

parsermarkdown

### Embed Badge

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

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

###  Alternatives

[erusev/parsedown

Parser for Markdown.

15.0k151.8M724](/packages/erusev-parsedown)[league/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark spec and GitHub-Flavored Markdown (GFM)

2.9k404.0M698](/packages/league-commonmark)[erusev/parsedown-extra

An extension of Parsedown that adds support for Markdown Extra.

84314.8M192](/packages/erusev-parsedown-extra)[parsedown/parsedown

Parser for Markdown.

21342.8k3](/packages/parsedown-parsedown)[tovic/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5933.7k](/packages/tovic-parsedown-extra-plugin)[taufik-nurrohman/parsedown-extra-plugin

Configurable Markdown to HTML converter with Parsedown Extra.

5932.3k](/packages/taufik-nurrohman-parsedown-extra-plugin)

PHPackages © 2026

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