nickcernis/html-to-markdown
Convert HTML into clean, readable Markdown in PHP. Parse tags and structure into Markdown output with configurable rules, custom converters, and strong defaults—handy for scraping, email content, CMS migrations, and turning rich text into Markdown for storage or editing.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| soundasleep/html2text | 0.88 | Convert HTML to readable plain text in PHP. soundasleep/html2text extracts meaningful content from messy markup, handling links, lists, tables and whitespace with configurable formatting—ideal for emails, scraping, logs and text-only previews. | 481 | 490 | 138 | 543K | 9 | 10.6 | 47.8 | MIT | 3 years ago | |
| league/html-to-markdown | 0.87 | — | 1,900 | 1,915 | 215 | 1M | 14 | 30.0 | 46.6 | MIT | 3 years ago | |
| bicpi/html-converter | 0.87 | PHP library for converting HTML to plain text, ideal for generating text parts of HTML emails. Includes Simple (strip_tags), Lynx (best results, keeps links), Html2Text, and Chain converter to pick the first available backend. | 11 | 12 | 13 | 1 | 0 | 0.5 | — | MIT | — | |
| html2text/html2text | 0.87 | — | 590 | 612 | 177 | 845K | 15 | 17.3 | 49.6 | — | 1 year ago | |
| knplabs/knp-markdown-bundle | 0.86 | — | 412 | 432 | 47 | 20K | 0 | 3.8 | 16.6 | MIT | 4 years ago | |
| league/commonmark | 0.86 | Extensible PHP Markdown parser supporting the full CommonMark spec and GitHub-Flavored Markdown. Works with PHP 7.4+ (mbstring) and provides simple converters to turn Markdown into HTML with configurable safety options. | 2,968 | 3,010 | 214 | 12M | 21 | 58.2 | 69.8 | BSD-3-Clause | 3 days ago | |
| labrodev/laravel-markdownable | 0.86 | Laravel package to load Markdown pages with YAML front matter by slug, parse metadata, convert to HTML, and return a structured PageData object. Includes contracts for swapping implementations and a Markdownable facade for simple access. | 0 | 0 | 0 | 17 | 0 | 0.0 | 17.3 | MIT | — | |
| erusev/parsedown-extra | 0.85 | Parsedown Extra is a fast, lightweight PHP Markdown parser with built-in support for Markdown Extra features like tables, footnotes, definition lists, and fenced code blocks. Ideal for rendering user content safely and quickly in PHP apps. | 845 | 864 | 132 | 179K | 75 | 42.5 | 62.1 | MIT | 5 months ago | |
| fluxbb/commonmark | 0.85 | Laravel-friendly CommonMark utilities from FluxBB: parse, render, and work with Markdown/CommonMark content in PHP with sensible defaults and integration patterns suited to Laravel apps. Lightweight package aimed at consistent, safe content rendering. | 15 | 15 | 1 | 6 | 5 | 1.4 | 3.0 | MIT | — | |
| graham-campbell/markdown | 0.84 | — | 1,346 | 1,362 | 138 | 138K | 0 | 32.7 | 31.0 | MIT | 4 months ago | |
| cdaguerre/markdown-bundle | 0.84 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| spatie/laravel-markdown-response | 0.84 | Serve clean markdown versions of your Laravel HTML pages for AI agents and bots. Detects requests via Accept: text/markdown, known user agents, or .md URLs. Driver-based conversion (local PHP or Cloudflare Workers AI), caching, and HTML preprocessing included. | 79 | 78 | 8 | 31K | 0 | 18.5 | 40.7 | MIT | 2 months ago | |
| johnnyhuy/laravel-useful-commonmark-extension | 0.84 | — | 7 | 7 | 4 | 0 | 1 | 4.5 | — | MIT | 6 years ago | |
| cebe/markdown | 0.81 | 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,034 | 137 | 485K | 38 | 25.1 | 51.2 | MIT | 8 years ago | |
| league/period | 0.81 | — | 733 | 753 | 45 | 131K | 0 | 18.6 | 32.4 | MIT | 9 months ago | |
| ergebnis/classy | 0.79 | ergebnis/classy adds convenient helpers for working with PHP classes and reflection. Generate class names, namespaces, and short names, and inspect class metadata in a clean, test-friendly way—useful for tooling, libraries, and code generation. | 39 | 39 | 4 | 60K | 0 | 14.7 | 46.9 | MIT | 7 months ago |
How can I help you explore Laravel packages today?