Libraries tagged by code-block

spatie/commonmark-shiki-highlighter

92 Favers
5287577 Downloads

Highlight code blocks with league/commonmark and Shiki

Go to Download


phrity/util-errorhandler

9 Favers
13383379 Downloads

Inline error handler; catch and resolve errors for code block.

Go to Download


codeception/specify

160 Favers
11158182 Downloads

BDD code blocks for PHPUnit and Codeception

Go to Download


funct/funct

606 Favers
146753 Downloads

A PHP library with commonly used code blocks

Go to Download


spatie/commonmark-highlighter

139 Favers
482426 Downloads

Highlight your markdown code blocks with league/commonmark

Go to Download


iamgerwin/php-pdf-to-markdown-parser

9 Favers
24697 Downloads

A lightweight PHP library to convert PDF documents into clean, structured Markdown. Supports text extraction, headings, lists, tables, diagrams and code blocks for easier content reuse and publishing.

Go to Download


symfony-tools/code-block-checker

9 Favers
11602 Downloads

Go to Download


shikiphp/shikiphp

0 Favers
770 Downloads

Pure PHP port of Shiki. Syntax-highlight code with VS Code themes and TextMate grammars — no extensions beyond json and mbstring, no Node, no Oniguruma binding.

Go to Download


silverstripe/markdown-php-codesniffer

1 Favers
105458 Downloads

A wrapper around squizlabs/PHP_CodeSniffer which lets you lint PHP fenced code blocks in markdown files

Go to Download


particle-academy/last-word

0 Favers
1761 Downloads

Standalone word-processing document read/write tool for agentic docs. Framework-agnostic PHP core that writes .docx (Office Open XML / WordprocessingML) from a JSON document model — headings, styled runs, nested lists, tables, code blocks, quotes, embedded images — reads them back with high fidelity, and bridges to/from GFM markdown so WYSIWYG editors round-trip Word files without converter sandwiches.

Go to Download


mathiasverraes/uptodocs

61 Favers
1202 Downloads

UpToDocs scans a Markdown file for PHP code blocks, and executes each one in a separate process. Include this in your CI workflows, to make sure your documentation is always up to date with your code.

Go to Download


linkrobins/clipboard

0 Favers
812 Downloads

Adds a copy-to-clipboard button to code blocks, plus an optional language label. Ported to Flarum 2.0 from ffans/clipboardjs.

Go to Download


jeffersongoncalves/laravel-html-sanitizer

1 Favers
1607 Downloads

This Laravel package provides a simple wrapper around the Symfony HTML Sanitizer to safely clean untrusted HTML. It strips scripts, inline event handlers, and Alpine attributes while keeping the presentational subset (headings, lists, tables, code blocks, images, links) that rendered Markdown and READMEs need. The package is easy to install and configure, seamlessly integrating with your existing Laravel application.

Go to Download


rasuvaeff/doc-exec

0 Favers
525 Downloads

Doctest for PHP: execute fenced code blocks from README/docs against the current codebase and diff the output

Go to Download


nickjbedford/block-cache

2 Favers
219 Downloads

Provides code block level HTML, text and object caching to aggressively cache the generated elements of PHP web pages.

Go to Download


Next >>