spatie/commonmark-shiki-highlighter
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.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| spatie/commonmark-highlighter | 0.91 | 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 | |
| spatie/shiki-php | 0.89 | Bring Shiki's beautiful syntax highlighting to PHP. A simple static call highlights code using the same language engine as popular code editors, with 100+ languages and themes plus bundled Antlers and Blade support. | 315 | 317 | 34 | 6M | 0 | 19.6 | 59.9 | MIT | 6 months ago | |
| spatie/laravel-markdown | 0.87 | 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. | 416 | 418 | 31 | 372K | 0 | 18.0 | 42.9 | MIT | 8 months ago | |
| league/commonmark-extras | 0.86 | 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 | |
| torchlight/torchlight-commonmark | 0.85 | 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 | |
| spatie/sidecar-shiki | 0.85 | Run Shiki syntax highlighting on AWS Lambda via Sidecar from your Laravel app—no Node.js or Shiki dependencies on your server. Install the package, configure Sidecar, register the HighlightFunction, and render highlighted code fast and consistently. | 37 | 37 | 1 | 2 | 0 | 2.3 | 0.3 | MIT | 2 years ago | |
| ryangjchandler/commonmark-blade-block | 0.85 | 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 |
|
| johnnyhuy/laravel-useful-commonmark-extension | 0.85 | — | 7 | 7 | 4 | 5 | 1 | 4.5 | 2.9 | MIT | 6 years ago | |
| spatie/laravel-markdown-blade-component | 0.85 | 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 | |
| hydephp/torchlight-commonmark | 0.85 | Adds Torchlight syntax highlighting to the CommonMark PHP parser. It swaps the default code block renderer so fenced code blocks are sent to Torchlight's API and rendered with highlighting, line numbers, diffs, and other features. | 0 | 0 | 0 | 802 | 0 | 0.0 | 40.1 | MIT | 1 year ago | |
| league/commonmark-ext-table | 0.85 | 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 | |
| carteni/highlight-bundle | 0.85 | — | 0 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 9 years ago | |
| n0sz/commonmark-marker-extension | 0.85 | A Laravel and PHP CommonMark extension that adds marker-style highlighting to your Markdown. Wrap text with marker syntax and render it as highlighted output, making it easy to emphasize key passages in docs, notes, and user-generated content. | 3 | 3 | 0 | 20K | 0 | 0.0 | 51.2 | MIT | 4 years ago | |
| njpanderson/braid | 0.84 | Braid is a Laravel package for building flexible, reusable navigation structures with a simple API. It helps you define items, manage active states, and render clean Blade markup, keeping menus and site navigation consistent and easy to maintain. | 1 | — | 0 | — | 0 | 0.3 | — | GPL-3.0 | 1 year ago | |
| adiog/syntax-highlight-bundle | 0.84 | Symfony bundle that packages Alex Gorbatchev’s SyntaxHighlighter 3.0.83 for Composer-based apps. Install via composer, enable the bundle in AppKernel, then run assets:install to publish the JS/CSS for client-side code highlighting. | 0 | 0 | 1 | 0 | 0 | 0.0 | — | — | — | |
| phiki/phiki | 0.84 | Phiki is a syntax highlighter written in PHP that uses TextMate grammar files and VS Code themes to generate syntax-highlighted code for the web. Inspired by Shiki and vscode-textmate, it supports a wide range of languages and themes and installs easily via Composer for Laravel and PHP projects. | 378 | 379 | 19 | 451K | 3 | 27.0 | 49.0 | MIT | 3 months ago | |
| alten/syntax-highlight-bundle | 0.84 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| orchestra/kurenai | 0.83 | 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?