thephpleague/html-to-markdown
Convert HTML to Markdown with PHP observed · 2026-08-28
Health v2 · maintenance only
66/100
- Activity 97
- Release rhythm 8
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.
- gap_med: n/a
- age_days: 5430
- days_rel: n/a
- days_push: 23
- n_releases_24m: 0
Adoption not part of the score
1903 stars · 215 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A PHP library that converts HTML documents into Markdown text. It is part of the League of Extraordinary Packages and supports configurable conversion options.
Use cases
- convert html to markdown in php
- migrate html content to markdown files
- convert html email to plain text
- store content as html but edit as markdown
- strip html tags when converting untrusted input
When to choose
- you need programmatic HTML-to-Markdown conversion in a PHP project
- you want a mature, well-tested library with composer integration
When to avoid
- you need Markdown-to-HTML conversion instead
- you work outside the PHP ecosystem
Facets
library · maturity stable
parser markdown serialization web-development developer-tools documentation php cli html-to-markdown converter commonmark phpleague
1 source
- readme: https://github.com/thephpleague/html-to-markdown · fetched 2026-08-28 · a3ec5069cdda
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| thephpleague/html-to-markdown | main | 66 |
For agents
markdown · JSON · MCP: product_card(name="thephpleague/html-to-markdown")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem