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

PHP wrapper around Shiki for server-side syntax highlighting. Highlight code snippets to themed HTML using VS Code grammars, with support for many languages and themes. Great for docs, blogs, and static site generation in Laravel or any PHP app.

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.
davejamesmiller/laravel-breadcrumbs
artisanry/parsedown
christhompsontldr/phpsdk
enqueue/dsn
bunny/bunny
enqueue/test
enqueue/null
enqueue/amqp-tools
milesj/emojibase
bower-asset/punycode
bower-asset/inputmask
bower-asset/jquery
bower-asset/yii2-pjax
laravel/nova
spatie/laravel-mailcoach
spatie/laravel-superseeder
laravel/liferaft
nst/json-test-suite
danielmiessler/sec-lists
jackalope/jackalope-transport