# michelf/php-markdown

Parser for Markdown and Markdown Extra derived from the original Markdown.pl by John Gruber.

Repository: https://github.com/michelf/php-markdown
Canonical: https://ross.abutalabs.com/products/php-markdown
Homepage: http://michelf.ca/projects/php-markdown/
Language: PHP
License: NOASSERTION
License Family: other
Last push: 2025-06-17T23:36:24+00:00

## Health v2 (maintenance only)
Score: 44/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 27, release rhythm 35, longevity 100
- inputs: {"age_days": 5932, "days_push": 442, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_releases, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3463, forks 518 (observed 2026-08-28T04:08:05.711941+00:00)

## What it is
A PHP library that parses Markdown and Markdown Extra syntax and converts it to HTML, derived from John Gruber's original Markdown.pl. It is installed via Composer and used by calling static transform methods or configurable parser instances.

## Use cases
- convert markdown text to html in php
- render user-submitted markdown comments
- parse markdown with tables and footnotes via markdown extra
- add markdown rendering to a php blog or cms
- transform markdown files into web pages

## When to choose
- you need a battle-tested, faithful Markdown implementation in PHP
- you need Markdown Extra features like tables, footnotes, and definition lists
- your project already uses Composer and PSR-4 autoloading

## When to avoid
- you need CommonMark strict compliance or GFM extensions like task lists
- you are not working in PHP
- you need very high-performance parsing of huge documents

## Facets
- artifact type: library
- maturity: maintenance
- function: parser, markdown, templating
- domain: web-development, parsers, documentation
- platform: php
- tags: markdown-to-html, markdown-extra, composer, web-server

## Member repositories
- michelf/php-markdown (main) score 44

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:08:05.711941+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-29T18:36:53.576121+00:00, confidence not recorded.
  - readme: https://github.com/michelf/php-markdown (fetched 2026-08-28T04:08:05.711941+00:00, sha 5ac1d8b35800)
  - homepage: http://michelf.ca/projects/php-markdown/ (fetched 2026-08-29T09:30:52.767331+00:00, sha 29dfa6ce11d2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
