Weave Code
Code Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Shiki Php Laravel Package

spatie/shiki-php

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.

View on GitHub
Deep Wiki
Context7
2.3.3

What's Changed

  • 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.

2.3.2

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.1...2.3.2

2.3.1

What's Changed

Full Changelog: https://github.com/spatie/shiki-php/compare/2.3.0...2.3.1

2.3.0
2.2.2

What's Changed

Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.1...2.2.2

2.2.1

What's Changed

Full Changelog: https://github.com/spatie/shiki-php/compare/2.2.0...2.2.1

2.2.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/shiki-php/compare/2.1.0...2.2.0

2.1.0

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/shiki-php/compare/2.0.0...2.1.0

2.0.0

Upgrading

  • The getAvailableLanguages, getAvailableThemes, languageIsAvailable and themeIsAvailable methods have been removed. These are no longer necessary as Shiki 1.0 lazy loads these when necessary.

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/shiki-php/compare/1.3.0...2.0.0

1.2.0
1.1.7
  • fix Node path
1.1.6
  • add common locations to look for node
1.1.5
  • Update Antlers syntax highlighting
1.1.4
  • Fix compatibility on lower versions of Node
1.1.3
  • Fix an issue where embedded languages weren't being highlighted correctly
1.1.2
  • Fix an issue where focus was applied to the Shiki div when not needed
1.1.1
  • Fix an issue when passing lines to be highlighted
1.1.0
  • You can now mark lines as highlighted, added, deleted or focus
1.0.2
  • significantly improve speed
1.0.1
  • use default executable name
1.0.0
  • initial release
What's
Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
hexters/coinpayment
rjcodes/rjcms
act-training/laravel-permissions-manager
alimarchal/laravel-chart-of-accounts
babenkoivan/elastic-scout-driver
mkwebdesign/filament-watchdog-v5
renatomarinho/laravel-page-speed
zedmagdy/filament-business-hours
renatovdemoura/blade-elements-ui
devgeek/beacon-admin
benjamin-rqt/data-watcher-bundle
atriumphp/atrium
sandermuller/package-boost-laravel
sandermuller/boost-skills
redaxo/core
yusufgenc/filament-api-forge
l3aro/rating-star-for-filament
leek/filament-subtenant-scope
anil/file-picker
broqit/fields-ai