Packagist · packagist:spatie/shiki-php
spatie/shiki-php active
Highlight code using Shiki in PHP
| Latest stable version | 2.4.0 |
|---|---|
| Published | 2026-04-27 14:27:52+00:00 |
| Install | composer require spatie/shiki-php |
| Required PHP version (composer.json) | PHP ^8.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-10-08 15:00:02 UTC |
| Sources | api.osv.dev, repo.packagist.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-04-27 14:27:52 UTC · 164 days ago |
| Stable releases in the last 12 months | 2 |
| Published versions | 25 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
2.4.0 | 2026-04-27 14:27:52 UTC |
2.3.3 | 2026-02-01 09:30:04 UTC |
2.3.2 | 2025-02-21 14:16:57 UTC |
2.3.1 | 2025-02-18 13:18:46 UTC |
2.3.0 | 2025-02-10 15:41:13 UTC |
2.2.2 | 2024-11-06 09:52:06 UTC |
2.2.1 | 2024-11-05 10:52:22 UTC |
2.2.0 | 2024-11-05 10:16:47 UTC |
2.1.0 | 2024-09-29 17:24:24 UTC |
2.0.0 | 2024-02-19 09:00:59 UTC |
1.3.0 | 2022-06-01 11:28:41 UTC |
1.2.0 | 2022-02-24 09:33:10 UTC |
1.1.7 | 2021-07-22 15:40:31 UTC |
1.1.6 | 2021-07-22 14:51:19 UTC |
1.1.5 | 2021-07-12 11:32:18 UTC |
1.1.4 | 2021-07-12 06:51:20 UTC |
1.1.3 | 2021-07-11 13:32:48 UTC |
1.1.2 | 2021-07-11 10:16:26 UTC |
1.1.1 | 2021-07-10 12:16:38 UTC |
1.1.0 | 2021-07-10 08:48:35 UTC |
Showing the 20 most recent of 25 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
php 7.4 | 2.3.1 |
php 8.0 | 2.4.0 |
php 8.1 | 2.4.0 |
php 8.2 | 2.4.0 |
php 8.3 | 2.4.0 |
php 8.4 | 2.4.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of spatie/shiki-php?
The latest stable version of spatie/shiki-php is 2.4.0, published on 2026-04-27. Verified by Vigia on 2026-10-08.
How do I install the latest version of spatie/shiki-php?
Run composer require spatie/shiki-php. The latest stable version is 2.4.0 (verified 2026-10-08).
Is spatie/shiki-php deprecated?
No. spatie/shiki-php is not marked as deprecated in the registry.
Which PHP version does spatie/shiki-php require?
spatie/shiki-php 2.4.0 declares this requirement: PHP ^8.0.
Does spatie/shiki-php 2.4.0 have known vulnerabilities?
No known advisories affect spatie/shiki-php 2.4.0 according to the data Vigia checks.
Is spatie/shiki-php still maintained?
spatie/shiki-php published 2 stable releases in the last 12 months; the most recent was 164 days ago. Activity: active.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- doctrine/cache
- slevomat/coding-standard
- doctrine/doctrine-migrations-bundle
- react/promise-timer
- amphp/socket
- scrivo/highlight.php
- moneyphp/money
- zircote/swagger-php
- amphp/dns
- intervention/gif
- filament/widgets
- spatie/laravel-activitylog
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/packagist/spatie/shiki-php) [](https://vigia.coredls.cloud/packagist/spatie/shiki-php) [](https://vigia.coredls.cloud/packagist/spatie/shiki-php)
For agents
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/shiki-php
GET https://vigia.coredls.cloud/v1/packages/packagist/spatie/shiki-php/versions/{version}