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.
Architecture fit: Requires Node.js runtime as Shiki is a JS library; integrates well with Laravel apps already using Node.js (e.g., for asset compilation) but adds dependency for Node.js-unfamiliar environments. PHP wrapper likely uses process spawning (e.g., exec()), which may conflict with serverless or restricted hosting environments.
Integration feasibility:
How can I help you explore Laravel packages today?