spatie/laravel-markdown
Render Markdown in Laravel with a Blade x-markdown component or a configurable MarkdownRenderer. Converts content to HTML with heading IDs, links, and syntax-highlighted code blocks, using options from your config and container resolution.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| labrodev/laravel-markdownable | 0.91 | 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 | 12 | 0 | 0.0 | 14.4 | MIT | — | |
| fluxbb/commonmark | 0.91 | 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 | 26 | 5 | 1.4 | 6.9 | MIT | — | |
| cdaguerre/markdown-bundle | 0.90 | — | 0 | 0 | 0 | 0 | 0 | 0.0 | — | — | — | |
| cebe/markdown | 0.90 | 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,008 | 1,030 | 137 | 505K | 37 | 24.8 | 51.0 | MIT | 8 years ago | |
| andchir/markdown-bundle | 0.90 | — | 0 | 0 | 0 | 0 | 0 | 1.5 | — | MIT | 6 years ago | |
| knplabs/knp-markdown-bundle | 0.90 | — | 412 | 432 | 48 | 21K | 0 | 3.9 | 16.7 | MIT | 4 years ago | |
| erusev/parsedown-extra | 0.90 | 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. | 843 | 862 | 131 | 159K | 74 | 45.2 | 63.7 | MIT | 3 months ago | |
| spatie/laravel-html | 0.89 | Generate HTML in Laravel with a clean, readable API. Build elements dynamically and compose them easily, including form fields that automatically pull values from models, session data, or defaults. Includes a convenient Html facade/alias for quick use. | 0 | 839 | — | 328K | — | 31.2 | 40.5 | — | — | |
| graham-campbell/markdown | 0.89 | — | 1,344 | 1,365 | 138 | 125K | 0 | 35.7 | 31.1 | MIT | 2 months ago | |
| spatie/laravel-markdown-response | 0.88 | 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. | 72 | 70 | 7 | 11K | 0 | 22.1 | 35.0 | MIT | 3 weeks ago | |
| johnnyhuy/laravel-useful-commonmark-extension | 0.88 | — | 7 | 7 | 4 | 0 | 1 | 4.5 | — | MIT | 6 years ago | |
| league/commonmark | 0.87 | 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,954 | 2,986 | 209 | 10M | 22 | 54.0 | 66.7 | BSD-3-Clause | 2 months ago | |
| michelf/php-markdown | 0.87 | 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,463 | 3,546 | 525 | 708K | 87 | 52.1 | 55.4 | NOASSERTION | — | |
| spatie/laravel-blade-x | 0.86 | Blade-X brings Blade-style HTML components to Laravel 6 and below, letting you use tags like instead of @include. Package is abandoned because Laravel 7+ has native Blade components; migrate when upgrading. | 518 | 530 | 36 | 535 | 0 | 6.0 | 3.0 | MIT | 6 years ago | |
| twig/markdown-extra | 0.86 | Twig extension adding Markdown support to templates. Provides markdown_to_html and html_to_markdown filters to convert Markdown blocks to HTML and turn HTML back into Markdown, making it easy to render or edit rich content in Twig views. | 121 | 122 | 7 | 568K | 0 | 21.7 | 59.4 | MIT | 2 weeks ago | |
| spatie/commonmark-highlighter | 0.85 | 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 | 12K | 0 | 2.0 | 18.7 | MIT | 4 years ago | |
| spatie/commonmark-shiki-highlighter | 0.85 | League/CommonMark code block renderer that highlights fenced code using Shiki PHP. Includes extra Antlers and Blade grammars in addition to Shiki’s 100+ languages. Ideal for Laravel setups (see spatie/laravel-markdown). Requires JS shiki v1. | 91 | 90 | 15 | 195K | 0 | 14.3 | 49.8 | MIT | 6 months ago | |
| spatie/shiki-php | 0.82 | Use Shiki syntax highlighting from PHP. Highlight code snippets with editor-quality themes and 100+ languages, plus Antlers and Blade. Works great with Laravel via spatie/laravel-markdown and CommonMark through a companion extension. | 310 | 312 | 31 | 2M | 0 | 28.3 | 60.6 | MIT | 1 month ago | |
| spatie/laravel-blade-javascript | 0.82 | Adds a simple @javascript Blade directive to export PHP values to JavaScript by writing them to window in a script tag. Use @javascript('key','value') and access it in the browser as key/value for quick server-to-client data sharing. | 624 | 635 | 37 | 17K | 0 | 27.2 | 22.4 | MIT | 3 months ago | |
| spatie/laravel-blade-comments | 0.81 | Adds HTML debug comments around every rendered Blade view/component so you can see exactly which template produced each piece of output in browser dev tools. Also includes top-level request and view info at the top of the document. | 179 | 179 | 13 | 3K | 0 | 24.4 | 19.6 | MIT | 1 month ago |
How can I help you explore Laravel packages today?