Ross ROSS = Recommend OSS · open-source software intelligence for agents

thephpleague/commonmark

Highly-extensible PHP Markdown parser which fully supports the CommonMark and GFM specs. observed · 2026-08-28

github.com/thephpleague/commonmark · homepage · PHP · BSD-3-Clause (permissive) observed · 2026-08-28

Health v2 · maintenance only

98/100

  • Activity 99
  • Release rhythm 97
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.

  • gap_med: 21.0
  • age_days: 4378
  • days_rel: 22
  • days_push: 8
  • n_releases_24m: 13

Full methodology

Adoption not part of the score

2971 stars · 214 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

league/commonmark is a highly-extensible PHP Markdown parser that fully supports the CommonMark and GitHub-Flavored Markdown specifications. It converts Markdown to HTML via an easy-to-use converter API with built-in extensions, security options, and support for custom syntax and renderers.

Use cases

  • convert markdown to html in php
  • parse user-submitted markdown safely
  • render github-flavored markdown
  • add custom markdown syntax to a php app
  • render markdown in a cms or framework
  • generate html from markdown documentation files

When to choose

  • you need a spec-compliant CommonMark or GFM parser in PHP
  • you need to sanitize untrusted markdown input with html stripping and unsafe link blocking
  • you want to extend markdown with custom syntax, renderers, or extensions
  • you need integrations with popular PHP frameworks and CMSes

When to avoid

  • your project is not written in PHP
  • you only need a lightweight regex-based markdown converter without spec compliance
  • you need to parse non-UTF-8/ASCII encodings without converting first

Facets

library · maturity stable

parser markdown templating web-development parsers documentation developer-tools php cross-platform commonmark gfm markdown-to-html extensible-parser composer

3 sources

Member repositories

RepositoryRoleHealth v2
thephpleague/commonmarkmain98

For agents

markdown · JSON · MCP: product_card(name="thephpleague/commonmark")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem