Libraries tagged by code-block

spatie/commonmark-shiki-highlighter

93 Favers
4720587 Downloads

Highlight code blocks with league/commonmark and Shiki

Go to Download


phrity/util-errorhandler

9 Favers
12369196 Downloads

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

Go to Download


codeception/specify

160 Favers
10963667 Downloads

BDD code blocks for PHPUnit and Codeception

Go to Download


funct/funct

606 Favers
145523 Downloads

A PHP library with commonly used code blocks

Go to Download


spatie/commonmark-highlighter

139 Favers
456557 Downloads

Highlight your markdown code blocks with league/commonmark

Go to Download


iamgerwin/php-pdf-to-markdown-parser

8 Favers
16478 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
11061 Downloads

Go to Download


silverstripe/markdown-php-codesniffer

1 Favers
101609 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
753 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
1143 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


jeffersongoncalves/laravel-html-sanitizer

1 Favers
432 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


shikiphp/shikiphp

0 Favers
393 Downloads

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

Go to Download


rasuvaeff/doc-exec

0 Favers
224 Downloads

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

Go to Download


linkrobins/clipboard

0 Favers
278 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


teppokoivula/textformatter-code-blocks

4 Favers
35 Downloads

ProcessWire CMS/CMF Textformatter module for creating Markdown style code blocks.

Go to Download


Next >>