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 | 17K | 0 | 2.0 | 20.5 | MIT | 5 years ago | |
| tempest/highlight | 0.83 | Tempest Highlight is a fast, extensible, server-side code highlighting library for PHP. Highlight code in any language with a simple API, no client-side JavaScript required. Install via Composer and start parsing immediately. | 700 | 695 | 56 | 160K | 2 | 37.6 | 38.1 | MIT | 1 week ago | |
| phiki/phiki | 0.82 | 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.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. | 92 | 92 | 15 | 372K | 0 | 5.8 | 50.2 | MIT | 11 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 | 27.9 | 41.2 | MIT | 7 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. | 712 | 727 | 43 | 2M | 13 | 17.7 | 52.7 | BSD-3-Clause | 3 years ago | |
| artisanpack-ui/code-style | 0.81 | A custom PHP_CodeSniffer standard for ArtisanPack UI projects, with 16+ sniffs enforcing consistent formatting, naming, security, and best practices. Install via Composer, add a phpcs.xml ruleset, and run phpcs to check your code. | 0 | 0 | 0 | 4K | 19 | 23.9 | 62.5 | MIT | 2 months 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 | 28 | 0 | 0.4 | 20.2 | — | 12 years ago | |
| loupe/matcher | 0.80 | Loupe Matcher turns search queries and arbitrary text into precise matches: tokenize phrases and negations, normalize locale-specific spelling variants, decompose compound words, calculate match spans, and format results with highlighting, cropping, and truncation. | 10 | 10 | 1 | 50K | 1 | 22.9 | 58.8 | MIT | 3 weeks ago | |
| spatie/shiki-php | 0.80 | 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 | |
| arty/php-coding-standard | 0.80 | — | 2 | 3 | 0 | 10 | 0 | 10.0 | 10.6 | MIT | 10 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 | 30 | 0 | 0.1 | 20.6 | 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,149 | 5,952 | 17 | 330K | 0 | 27.3 | 24.0 | MIT | 8 years ago | |
| pmjones/php-styler | 0.78 | PHP-Styler is a PHP code formatter that tokenizes source files and rebuilds them with consistent spacing, indentation, and automatic line splitting. Configurable Styles, Rules, and Parses customize the diff-friendly output, while logic and comments are preserved. No dependencies beyond PHP 8.1. | 42 | 41 | 3 | 353 | 1 | 17.2 | 14.4 | MIT | 6 months ago | |
| symplify/phpstan-extensions | 0.70 | 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 | 281K | 0 | 0.4 | 53.1 | MIT | — | |
| jetbrains/phpstorm-stubs | 0.70 | Official JetBrains stubs provide syntactically correct PHP function and class signatures, constants, and detailed PHPDoc for built-in PHP and most standard extensions. They power IDE completion, code inspection, type inference, and documentation popups in PhpStorm and other tools. | 1,397 | 1,373 | 824 | 2M | 0 | 43.3 | 50.8 | Apache-2.0 | 3 months ago | |
| kzykhys/ciconia | 0.68 | 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 |
How can I help you explore Laravel packages today?