Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Commonmark Highlighter Laravel Package

spatie/commonmark-highlighter

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.

View on GitHub
Deep Wiki
Context7
Package
Score
Description
Stars
Likes
Forks
Downloads
Issues
Score
Opportunity
License
Last Release
spatie/commonmark-shiki-highlighter 0.91 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. 92 92 15 375K 0 5.9 50.3 MIT 11 months ago
View on GitHub
carteni/highlight-bundle 0.88 — 0 1 0 0 0 0.3 — MIT 9 years ago
View on GitHub
Context7
spatie/commonmark-wire-navigate 0.87 CommonMark extension that adds a wire:navigate attribute to links rendered from Markdown, enabling Livewire SPA navigation. Install via Composer and register WireNavigateExtension in your CommonMark environment or spatie/laravel-markdown config. 10 10 2 2K 0 0.7 30.5 MIT 2 years ago
View on GitHub
n0sz/commonmark-marker-extension 0.87 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
View on GitHub
spatie/laravel-markdown-blade-component 0.87 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
View on GitHub
webuni/commonmark-attributes-extension 0.87 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 —
View on GitHub
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
View on GitHub
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
View on GitHub
wnx/commonmark-markdown-renderer 0.86 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
View on GitHub
spatie/color 0.86 PHP library for color parsing, conversion, and comparison. Supports CSS named colors plus RGB/RGBA/ARGB, Hex, HSL/HSLA, HSB, CMYK, CIELab, and XYZ. Includes WCAG contrast ratio and Delta E distances (CIE76, CIE94, CIEDE2000). 385 389 41 1M 0 16.2 50.7 MIT 8 months ago
View on GitHub
Context7
spatie/shiki-php 0.86 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
View on GitHub
league/commonmark-ext-table 0.86 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
View on GitHub
league/commonmark 0.86 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
View on GitHub
alten/syntax-highlight-bundle 0.86 — 2 2 0 0 0 0.0 — — —
View on GitHub
commonmark/commonmark.js 0.86 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
scrivo/highlight.php 0.86 Server-side syntax highlighting for PHP using highlight.js grammars. Highlight code blocks in many languages, auto-detect when needed, and render HTML with themes—ideal for docs, blogs, and static site generation without requiring a browser. 712 727 43 2M 13 17.7 52.7 BSD-3-Clause 3 years ago
View on GitHub
Context7
hydephp/torchlight-commonmark 0.86 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
View on GitHub
adiog/syntax-highlight-bundle 0.86 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 — — —
View on GitHub
johnnyhuy/laravel-useful-commonmark-extension 0.85 — 7 7 4 5 1 4.5 2.9 MIT 6 years ago
View on GitHub
core23/commonmark-formatter-bundle 0.85 — 0 0 0 0 0 0.0 — MIT —
View on GitHub
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource