league/commonmark
league/commonmark is a highly extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. It offers simple converters, customizable options, extensions, and safe HTML handling. Requires PHP 7.4+ and mbstring.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| yivoff/commonmark-bundle | 0.90 | A Symfony bundle that wraps the league/commonmark Markdown parser, providing a configurable CommonMark converter service and Twig filter for rendering Markdown in templates. It simplifies setup for projects that need consistent Markdown-to-HTML conversion. | 2 | 2 | 0 | 17 | 0 | 0.0 | 11.4 | MIT | 5 years ago | |
| league/commonmark-ext-table | 0.90 | Deprecated CommonMark table extension for PHP. Adds GitHub Flavored Markdown-style tables (alignment, header/body) to league/commonmark environments. Use league/commonmark 1.3+ instead, which includes the same Table extension under League\CommonMark\Extension\Table. | 126 | 129 | 14 | 4K | 0 | 0.8 | 14.5 | MIT | 7 years ago | |
| ows/commonmark-sup-sub-extensions | 0.89 | Add superscript and subscript support to your CommonMark markdown with this lightweight PHP extension. It registers ^text^ and text style syntax so you can render scientific notation, footnotes, and chemical formulas cleanly in Laravel or any CommonMark-powered app. | 10 | — | 6 | — | 3 | 20.9 | 0.5 | GPL-3.0 | 1 week ago |
|
| parsedown/parsedown-extra | 0.88 | Parsedown Extra adds Markdown Extra support to Parsedown, enabling features like tables, footnotes, definition lists, and other extended syntax. Useful when you need richer Markdown parsing in PHP with minimal setup and fast rendering. | 1 | — | 1 | — | 0 | 0.0 | — | MIT | — | |
| commonmark/commonmark.js | 0.88 | commonmark.js is a JavaScript implementation of the CommonMark Markdown parser and renderer. It converts Markdown to HTML in Node and browsers, exposes an AST and walking API, and tracks the CommonMark spec for consistent, standards-compliant parsing. | 1,570 | — | 234 | — | 39 | 27.4 | 16.7 | NOASSERTION | 2 years ago |
|
| northernco/markdown-bundle | 0.88 | Northern Co's Markdown Bundle brings CommonMark-powered Markdown rendering to Laravel and PHP apps. Configure extensions, sanitize user input, and render Markdown in Blade views with simple helpers via a publishable config file. Composer-installable and framework-friendly, it keeps content parsing c... | 0 | 0 | 0 | 84 | 0 | 7.3 | 28.4 | — | 7 months ago | |
| league/commonmark-extras | 0.88 | league/commonmark-extras provides additional CommonMark extensions for PHP's league/commonmark parser, adding features like autolinks, smart punctuation, strikethrough, tables, and task lists so you can render richer Markdown with minimal setup. | 28 | 30 | 4 | 204 | 0 | 0.1 | 8.8 | BSD-3-Clause | 6 years ago | |
| ornj/markdown-bundle | 0.88 | ornj/markdown-bundle is a Symfony bundle for parsing and rendering Markdown as HTML. It integrates Markdown conversion into Symfony services and templating, making it easy to add Markdown support to content, controllers, and Twig views with minimal setup. | 0 | 5 | — | 0 | — | 0.0 | — | — | — | |
| webuni/commonmark-attributes-extension | 0.88 | Adds Kramdown-style attribute lists to League/CommonMark markdown, letting you assign HTML ids, classes, and other attributes to block and span elements. Deprecated: use the built-in Attributes extension in league/commonmark 1.5+ instead. | 31 | 33 | 14 | 422 | 0 | 0.3 | 11.2 | MIT | — | |
| tempest/markdown | 0.88 | A fast, extensible server-side Markdown parser for PHP that uses a simple lexer instead of regex. Built-in support for code highlighting, tables, divs, responsive images, and frontmatter, with benchmarks well ahead of commonmark and Parsedown Extra. | 45 | 40 | 6 | 82 | 7 | 24.2 | 13.1 | MIT | 1 month ago | |
| torchlight/torchlight-commonmark | 0.88 | Laravel extension for league/commonmark that highlights Markdown code fences with Torchlight. Works with CommonMark v1 and v2, integrates with GrahamCampbell/Laravel-Markdown or manual environments, and uses the Torchlight Laravel client for fast, JS-free highlighting. | 28 | 29 | 46 | 7K | 0 | 6.3 | 33.7 | MIT | 1 year ago | |
| aymdev/commonmark-bundle | 0.88 | — | 6 | 6 | 0 | 48 | 0 | 2.4 | 12.4 | MIT | 4 years ago | |
| spatie/commonmark-highlighter | 0.87 | Server-side syntax highlighting for league/commonmark code blocks using scrivo/highlight.php. Generates HTML compatible with highlight.js themes, reducing JavaScript and avoiding flashes of unstyled code. Supports 185+ languages for fast, clean markdown rendering. | 139 | 139 | 10 | 19K | 0 | 2.0 | 20.7 | MIT | 5 years ago | |
| webuni/commonmark-table-extension | 0.87 | Deprecated: GitHub-Flavored Markdown table support for league/commonmark. Functionality is now bundled in league/commonmark 1.3+ as League\CommonMark\Extension\Table—upgrade and use the built-in TableExtension for parsing/rendering tables. | 126 | 130 | 14 | 1K | 0 | 0.8 | 10.1 | MIT | 7 years ago | |
| dflydev/markdown | 0.87 | dflydev/markdown is a PHP Markdown parser that converts Markdown and Markdown Extra text into HTML. It supports standard Markdown plus extras like tables, footnotes, and definition lists, making it easy to render user-authored content in PHP applications. | 167 | 188 | 20 | 7K | 2 | 1.9 | 22.6 | NOASSERTION | — | |
| flarum/markdown | 0.87 | Adds Markdown formatting to Flarum posts, letting users write bold, italic, links, lists, quotes, and code with familiar syntax. Integrates with the composer to render clean, consistent formatted content across discussions. | 17 | 17 | 15 | 20K | 0 | 19.7 | 49.2 | MIT | 3 weeks ago | |
| ryangjchandler/commonmark-blade-block | 0.87 | CommonMark Blade Block is a CommonMark extension for Laravel that lets you render Blade templates directly inside Markdown. Add dynamic, component-driven content to docs, emails, and articles while keeping authoring clean and familiar. | 22 | — | 0 | — | 0 | 7.8 | — | MIT | 7 months ago |
|
| wnx/commonmark-markdown-renderer | 0.87 | A PHP package that renders a league/commonmark AST back to Markdown, letting you parse Markdown, manipulate the document tree, and re-render it. Note that alternate Markdown syntaxes mean input and output may differ. | 9 | 9 | 2 | 31K | 2 | 23.5 | 57.0 | MIT | 1 week ago | |
| nickcernis/html-to-markdown | 0.87 | Converts HTML to Markdown for PHP 7.2+, letting you edit existing HTML content as Markdown, store HTML while editing in Markdown, or turn HTML email into plain text. Install via Composer. | 1,909 | 1,909 | 216 | 331 | 5 | 46.7 | 5.6 | MIT | 2 weeks ago | |
| orchestra/kurenai | 0.87 | Orchestra Kurenai is a Laravel package for managing URL redirects in a clean, centralized way. It helps preserve SEO and keep legacy links working by letting you define and handle redirections that integrate smoothly with modern Laravel applications. | 0 | 1 | — | 0 | — | 0.3 | — | — | — |
How can I help you explore Laravel packages today?