{"repo":"iliaal/mdparser","free":true,"listed":false,"github":"https://github.com/iliaal/mdparser","clone":"git clone https://github.com/iliaal/mdparser.git","description":"Native C CommonMark + GitHub Flavored Markdown parser for PHP. 100% spec compliance, 15-30x faster than pure-PHP parsers, zero runtime dependencies.","language":"PHP","stars":21,"topics":["commonmark","markdown","pecl","php","php-extension","pie"],"license":null,"category":"deployment-docker-iac","readme_excerpt":"mdparser Native C CommonMark + GitHub Flavored Markdown parser for PHP. 10-20× faster than pure-PHP alternatives (Parsedown, cebe, michelf) on a clean optimized build, targeting CommonMark 0.31 (652/652 spec examples pass; see docs/spec-coverage.md ). GFM extensions: tables, strikethrough, task lists, autolinks, tagfilter. Installable via PIE (the PHP Foundation's PECL successor); ships as a single .so . PHP 8.2 minimum, OO API with final classes and readonly options. 📦 Install On a minimal PHP image (e.g. php:8.x-cli from Docker Hub), PIE needs a few build tools installed first: From source Windows binaries Pre-built DLLs for PHP 8.3, 8.4, and 8.5 (TS/NTS, x86/x64) are attached to each GitHub release. 🛠️ Usage 📊 Performance Against the major pure-PHP Markdown libraries, on PHP 8.4 (clean optimized build, each parser in its default configuration): Corpus mdparser ops/sec Best pure-PHP ops/sec Speedup --- --: --: --: 200 B 530,000 26,000 (Parsedown) 20× 1.8 KB 110,000 6,000 (cebe/GitHub) 19× 200 KB 980 95 (cebe/GitHub) 10× 10-20× faster across the corpora (up to 45× vs the slowest), from small messages to full 200 KB spec documents. bench/README.md is the source of truth: methodology, all parsers, caveats, league/commonmark notes, and how to reproduce. (Always benchmark a clean optimized PHP build; a debug/ASan build inflates these numbers.) ✨ Feature matrix Comparison with the major pure-PHP Markdown libraries. \"via ext\" means the feature exists but requires opting in to a","default_branch":null,"files":null,"tree":[],"storefront":"/r/iliaal","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/iliaal/mdparser/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}