NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
Packagist · #350 most downloaded on Packagist
Highlight code using Shiki in PHP
Last release 5 months ago
27 Apr 2026
Release timing varies
gaps range from 1 weeks to 1.7 years
Most releases are documented
notes for 22 of 25 stable releases
Nothing withdrawn
no release was ever pulled
5 years old
25 releases · first in 2021
One column per quarter.
feat: Update shiki to v4 by @s3ththompson in #40
Full Changelog: 2.3.3...2.4.0
Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.3...2.4.0
Fix: Support large code blocks by passing input via stdin instead of command-line arguments ( #36 ) by @drewrichards
This fixes the proc_open(): posix_spawn() failed: Argument list too long error that occurred when highlighting large code blocks.
Removed PHP ^7.4 from requirements by @timoisik in #30
Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.1...2.3.2
fix: restore blade grammar file by @heywhy in #31
Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.0...2.3.1
feat: upgrade shiki to v2 by @heywhy in #29
Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.2...2.3.0
fix: support string and object for token.htmlStyle by @Barbapapazes in #28
token.htmlStyle by @Barbapapazes in #28Full Changelog: 2.2.1...2.2.2
token.htmlStyle by @Barbapapazes in https://github.com/spatie/shiki-php/pull/28Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.1...2.2.2
fix: create shiki with dual themes by @Barbapapazes in #27
Full Changelog: 2.2.0...2.2.1
Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.0...2.2.1
feat: support (at least) dual themes by @Barbapapazes in #26
Full Changelog: 2.1.0...2.2.0
Full Changelog: https://github.com/spatie/shiki-php/compare/2.1.0...2.2.0
Allow running in vanilla PHP projects by @timacdonald in #25
getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable by @s3ththompson in #23Full Changelog: 2.0.0...2.1.0
getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable by @s3ththompson in https://github.com/spatie/shiki-php/pull/23Full Changelog: https://github.com/spatie/shiki-php/compare/2.0.0...2.1.0
The getAvailableLanguages , getAvailableThemes , languageIsAvailable and themeIsAvailable methods have been removed. These are no longer necessary as
getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable methods have been removed. These are no longer necessary as Shiki 1.0 lazy loads these when necessary.Full Changelog: 1.3.0...2.0.0
getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable methods have been removed. These are no longer necessary as Shiki 1.0 lazy loads these when necessary.Full Changelog: https://github.com/spatie/shiki-php/compare/1.3.0...2.0.0
Allow php7.4 by @jonassiewertsen in https://github.com/spatie/shiki-php/pull/14
Full Changelog: https://github.com/spatie/shiki-php/compare/1.2.0...1.3.0
Nothing published for this version
- fix Node path
add common locations to look for node
Update Antlers syntax highlighting
Fix compatibility on lower versions of Node
Fix an issue where embedded languages weren't being highlighted correctly
Fix an issue where focus was applied to the Shiki div when not needed
Fix an issue when passing lines to be highlighted
You can now mark lines as highlighted, added, deleted or focus
highlighted, added, deleted or focus- significantly improve speed
- use default executable name
- initial release
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →