Weave 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

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.

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

What's Changed

New Contributors

Full Changelog: https://github.com/spatie/shiki-php/compare/1.1.7...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
0.0.2
  • experimental release
0.0.1
  • Experimental release
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.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log