kzykhys/pygments
Thin PHP wrapper around the Python Pygments syntax highlighter. Highlight code to HTML/ANSI, generate CSS for styles (e.g., monokai), guess lexer by filename, and list available lexers/formatters/styles. Supports custom pygmentize path.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| carteni/highlight-bundle | 0.85 | — | 0 | 1 | 0 | 0 | 0 | 0.3 | — | MIT | 9 years ago | |
| spatie/commonmark-highlighter | 0.83 | 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 | 8K | 0 | 2.0 | 17.2 | MIT | 4 years ago | |
| tempest/highlight | 0.83 | Fast, extensible server-side syntax highlighting for PHP. Tempest Highlight parses code with a simple Highlighter API and supports multiple languages for rendering highlighted output in apps, docs, and tooling—install via Composer and start highlighting in minutes. | 697 | 696 | 48 | 82K | 7 | 38.1 | 35.6 | MIT | 3 weeks ago | |
| phiki/phiki | 0.82 | Phiki is a PHP syntax highlighter for the web. It uses TextMate grammars and VS Code themes to render highlighted code, with an API inspired by Shiki and an implementation influenced by vscode-textmate. | 369 | 369 | 17 | 242K | 7 | 27.5 | 46.0 | MIT | 3 months ago | |
| alten/syntax-highlight-bundle | 0.82 | — | 2 | 2 | 0 | 0 | 0 | 0.0 | — | — | — | |
| adiog/syntax-highlight-bundle | 0.82 | 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 | — | — | — | |
| spatie/commonmark-shiki-highlighter | 0.81 | 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. | 93 | 92 | 15 | 212K | 0 | 12.6 | 49.5 | MIT | 7 months ago | |
| torchlight/torchlight-laravel | 0.81 | Torchlight syntax highlighting for Laravel. Highlight code blocks with VS Code-compatible themes and zero JavaScript. Includes caching, configurable themes and host, and Blade components/directives. Requires a Torchlight API token (free for personal/open source). | 120 | 120 | 17 | 23K | 18 | 28.5 | 41.6 | MIT | 4 months ago | |
| scrivo/highlight.php | 0.81 | 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. | 714 | 727 | 44 | 2M | 13 | 17.7 | 52.6 | BSD-3-Clause | 3 years ago | |
| artisanpack-ui/code-style | 0.81 | Custom PHP_CodeSniffer standard based on PhpStorm settings. Enforces consistent formatting, structure, naming, security and best practices via 16+ custom sniffs. Install with Composer and run via phpcs.xml or --standard=ArtisanPackUIStandard. | 0 | 0 | 0 | 515 | 18 | 25.8 | 49.6 | MIT | 1 month ago | |
| jakub-onderka/php-code-style | 0.81 | A PHP coding style toolkit for consistent formatting and style enforcement across projects. Helps standardize code layout and conventions, making reviews easier and reducing style-related noise in diffs for teams and CI pipelines. | 0 | 0 | 1 | 38 | 0 | 0.4 | 22.0 | — | 12 years ago | |
| loupe/matcher | 0.80 | PHP library for search term highlighting and contextual snippet generation. Tokenize queries (phrases, negation, locale-aware rules), match terms with stop-word filtering and span positions, then format results with highlights and cropped excerpts for user-friendly search output. | 10 | 10 | 1 | 21K | 2 | 23.0 | 53.1 | MIT | 4 days ago | |
| spatie/shiki-php | 0.80 | 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. | 311 | 312 | 32 | 2M | 0 | 25.7 | 60.9 | MIT | 2 months ago | |
| arty/php-coding-standard | 0.80 | — | 2 | 3 | 0 | 14 | 0 | 11.8 | 12.5 | MIT | 6 months ago | |
| phpcq/repository-definition | 0.80 | Repository definition package for the PHPCQ (PHP Code Quality) project, used to automate and configure code quality checks in CI pipelines. Part of the phpcq.org ecosystem built around tools like PHP_CodeSniffer and PHPMD. | 0 | 0 | 0 | 69 | 0 | 0.0 | 25.5 | MIT | — | |
| jakub-onderka/php-console-highlighter | 0.79 | Abandoned package for syntax-highlighting PHP code in the terminal using ANSI colors. Provides a Highlighter that outputs highlighted whole-file or snippet content for CLI display. Suggested alternative: php-parallel-lint/PHP-Console-Highlighter. | 6,165 | 5,952 | 17 | 275K | 0 | 27.3 | 22.9 | MIT | 7 years ago | |
| pmjones/php-styler | 0.78 | PHP-Styler is a PHP 8.1 code formatter that fully rewrites formatting for consistent spacing, indentation, and line splitting. It preserves code logic and comments, aims for diff-friendly output, and supports customizable styles/rules for structural transformations. | 41 | 41 | 2 | 28 | 0 | 23.4 | 3.5 | MIT | 2 months ago | |
| kzykhys/ciconia | 0.77 | Ciconia is a flexible CommonMark/Markdown parser for PHP, converting Markdown to HTML with support for GitHub-flavored syntax and extensions. Designed to be customizable, it fits well in apps needing reliable Markdown rendering and control over output. | 350 | 353 | 28 | 156 | 15 | 10.9 | 8.5 | MIT | 12 years ago | |
| jetbrains/phpstorm-stubs | 0.70 | Syntactically correct PHP stub files for core and common extensions, providing function/class signatures, constants, and comprehensive PHPDoc for accurate IDE completion, inspections, type inference, and documentation in PhpStorm and other tools. | 1,390 | 1,373 | 824 | 2M | 0 | 44.0 | 49.7 | Apache-2.0 | 2 months ago | |
| symplify/phpstan-extensions | 0.63 | Extra PHPStan rules and extensions from Symplify to improve static analysis of PHP projects. Adds better type inference and framework-aware checks, helping catch bugs earlier and keep codebases consistent with minimal configuration. | 39 | 39 | 5 | 263K | 0 | 0.4 | 52.7 | MIT | — |
How can I help you explore Laravel packages today?