PHPackages                             davidpersson/markup - 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. davidpersson/markup

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

davidpersson/markup
===================

One interface to multiple markdown parsers.

v1.0.2(9y ago)0135MITPHPPHP &gt;=5.4.0

Since Mar 30Pushed 9y ago1 watchersCompare

[ Source](https://github.com/davidpersson/markup)[ Packagist](https://packagist.org/packages/davidpersson/markup)[ RSS](/packages/davidpersson-markup/feed)WikiDiscussions master Synced 2mo ago

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

```

Markup

---- One interface to multiple markdown parsers.

Synopsis
--------
This library provides a unified interface to several markdown implementations.
Popular implementations are already included with the library.

Copyright & License
-------------------
Markup is Copyright (c) 2012 David Persson
if not otherwise stated. The code is distributed under the terms
of the MIT License. For the full license text see the LICENSE file.

3rd Party Libraries
-------------------
The `lib` directory contains all 3rd party libraries.

Please note that only those libraries are listed here that are used as direct
dependencies. Libraries the 3rd party libraries depend on are not listed. For
information on those see the README of the respective 3rd party library. When
present the full license text of each library has been amended to the LICENSE
file.

Path                              Copyright Holder              License        Mod.
...................................................................................
lib/markdown_extra.php            John Gruber, Michel Fortin    BSD-3-clause   no
lib/markdown_extra_extended.php   John Gruber, Michel Fortin,   BSD-3-clause   yes
                                  Egil Hansen
lib/smartypants.php               John Gruber, Michel Fortin    BSD-3-clause   no

All modifications to 3rd party libraries are documented in the form of version
controlled changes. Please consult the version history for changes to the
relevant files.

Requirements
------------
PHP >=5.4.0 is required to run the code.

Installation
------------
composer require davidpersson/markup

Usage
-----

```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity60

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

3

Last Release

3332d ago

### Community

Maintainers

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

---

Top Contributors

[![mariuswilms](https://avatars.githubusercontent.com/u/29702?v=4)](https://github.com/mariuswilms "mariuswilms (32 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/davidpersson-markup/health.svg)

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

###  Alternatives

[bitpoke/stack-mu-plugin

WordPress must-use plugin for Stack

1219.5k](/packages/bitpoke-stack-mu-plugin)

PHPackages © 2026

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