league/html-to-markdown
Convert HTML to Markdown in PHP with league/html-to-markdown. Create an HtmlConverter, pass valid HTML to convert(), and get clean Markdown back. Useful for editing legacy HTML, storing content as HTML while authoring in Markdown, and turning HTML email into plain text.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| michelf/php-markdown | 0.88 | michelf/php-markdown is a fast, standards-based Markdown parser for PHP (Markdown and Markdown Extra). Convert Markdown text to HTML with optional extended syntax, designed for easy embedding in apps and frameworks, with stable output and minimal setup. | 3,458 | 3,548 | 521 | 646K | 87 | 52.3 | 54.9 | NOASSERTION | — | |
| league/commonmark | 0.87 | 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. | 2,982 | 3,021 | 223 | 20M | 15 | 57.2 | 68.5 | BSD-3-Clause | 6 days 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 | |
| cebe/markdown | 0.87 | Fast, extensible PHP Markdown parser with classes for multiple flavors (Traditional, GitHub Flavored, and partial Markdown Extra) plus a CLI to convert .md to HTML. Designed for speed, easy customization, and AST-based hooks for extensions. | 1,011 | 1,035 | 137 | 763K | 39 | 25.4 | 53.9 | MIT | 8 years ago | |
| jeffersongoncalves/laravel-markdown | 0.87 | A Laravel package for working with Markdown, making it easy to render Markdown content to HTML in your applications. Simple to install and configure, it helps keep documentation, blog posts, and other text clean and readable. | 1 | — | 0 | — | 0 | 17.8 | — | MIT | 1 month ago | |
| league/commonmark-extras | 0.85 | 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 | |
| roelofjan-elsinga/content-to-html-parser | 0.85 | A PHP package that converts structured content into clean HTML output. Define your content in a flexible format, then render it as ready-to-use markup in Laravel or any PHP application. | 0 | 0 | 0 | 377 | 0 | 0.4 | 35.6 | MIT | 7 years ago | |
| pixel418/markdownify | 0.85 | Markdownify is a fast, extensible PHP library that converts HTML into clean Markdown. It handles common HTML elements, supports custom converters, and integrates easily into Laravel or any PHP project for generating readable Markdown from web content. | 196 | 198 | 43 | 31K | 4 | 11.4 | 33.6 | MIT | 7 months ago | |
| flarum/markdown | 0.85 | 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 | |
| dflydev/markdown | 0.85 | 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 | — | |
| pk/markdownify-bundle | 0.85 | Symfony bundle that wires Markdownify into your app, converting Markdown to HTML through a ready-to-use service and Twig filter. Configure the converter once and render Markdown content cleanly in templates. | 3 | 3 | 0 | 0 | 0 | 0.0 | — | MIT | 7 years ago | |
| html2text/html2text | 0.85 | — | 588 | 610 | 178 | 1M | 15 | 17.6 | 53.5 | — | 2 years ago | |
| knplabs/knp-markdown-bundle | 0.85 | — | 412 | 432 | 46 | 17K | 0 | 3.8 | 15.8 | MIT | 4 years ago | |
| abordage/laravel-html-min | 0.85 | Laravel HTML Min is a lightweight middleware package that compresses your application's HTML output by stripping whitespace, comments, and redundant markup. Reduce page size and speed up load times with zero template changes—just install and enable it. | 25 | — | 3 | — | 0 | 3.8 | — | MIT | 10 months ago | |
| sinnbeck/markdom | 0.85 | Markdom is a Laravel/PHP package that parses Markdown into a manipulable DOM, letting you add classes, attributes, and custom transformations before rendering HTML. It offers a clean, extensible API for flexible Markdown output. | 68 | — | 6 | — | 0 | 0.8 | — | — | 2 years ago | |
| prinsfrank/markdown-dom | 0.85 | prinsfrank/markdown-dom is a PHP package that converts Markdown into a DOM structure, letting you traverse, query, and manipulate parsed Markdown programmatically before rendering. Useful for custom transformations, content processing, and DOM-based workflows. | 0 | 0 | 0 | 23K | 0 | 16.8 | 63.3 | MIT | 2 months ago | |
| kub-at/php-simple-html-dom-parser | 0.84 | A fast, lightweight PHP HTML DOM parser that lets you find and extract elements from HTML using jQuery-like selectors. Compatible with simple_html_dom, it makes scraping, parsing, and manipulating markup easy with minimal code. | 152 | — | 43 | — | 4 | 3.1 | 0.8 | MIT | 7 years ago |
|
| ivopetkov/html5-dom-document-php | 0.84 | A PHP HTML5 DOMDocument library that parses and serializes modern HTML5 reliably while working around native DOMDocument limitations. It adds support for HTML5 tags and CSS selectors, making it easy to load, query, and manipulate documents with clean, familiar APIs. | 600 | — | 43 | — | 8 | 19.2 | 2.5 | MIT | 4 months ago |
|
| spatie/laravel-markdown-blade-component | 0.84 | Spatie's Laravel Markdown Blade Component lets you render Markdown directly in Blade views using a simple component. Built on CommonMark, it supports GitHub-flavored Markdown, caching, and safe HTML output, making it ideal for blogs, docs, and user-generated content. | 415 | — | 31 | — | 0 | 9.6 | — | MIT | 8 months ago | |
| league/commonmark-ext-table | 0.84 | 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 |
How can I help you explore Laravel packages today?