# erusev/parsedown

Better Markdown Parser in PHP

Repository: https://github.com/erusev/parsedown
Canonical: https://ross.abutalabs.com/products/parsedown
Homepage: https://parsedown.org
Language: PHP
License: MIT
License Family: permissive
Topics: markdown-parser, markdown, parser, php
Last push: 2026-02-18T15:50:34+00:00

## Health v2 (maintenance only)
Score: 64/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 68, release rhythm 39, longevity 100
- inputs: {"age_days": 4802, "days_push": 196, "days_rel": 198, "gap_med": null, "n_releases_24m": 1}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 15058, forks 1135 (observed 2026-08-28T04:11:09.083593+00:00)

## What it is
Parsedown is a fast, single-file Markdown parser for PHP with GitHub Flavored Markdown support and no dependencies. It includes a safe mode for handling untrusted user input and can be extended via the Parsedown Extra package.

## Use cases
- render markdown to html in php
- parse user-submitted markdown comments safely
- convert markdown files to html in a php app
- render github-flavored markdown
- add markdown support to a php cms or blog

## When to choose
- you need a fast, dependency-free markdown parser in PHP
- you want GitHub Flavored Markdown compatibility
- you need to render untrusted markdown with XSS protections
- you want a simple drop-in single-file library

## When to avoid
- you need CommonMark strict spec compliance
- you need markdown parsing outside PHP
- you rely on extensions whose safety hasn't been evaluated for untrusted input

## Facets
- artifact type: library
- maturity: stable
- function: parser, markdown, templating
- domain: web-development, parsers, documentation
- platform: php
- tags: github-flavored-markdown, xss-safe-mode, single-file, composer

## Member repositories
- erusev/parsedown (main) score 64

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:11:09.083593+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:06:45.973114+00:00, confidence not recorded.
  - readme: https://github.com/erusev/parsedown (fetched 2026-08-28T04:11:09.083593+00:00, sha 90163925fef9)
  - homepage: https://parsedown.org (fetched 2026-08-29T08:04:39.846972+00:00, sha 765d3f80e02a)
- Data as of 2026-08-30T08:39:29.467469+00:00.
