spatie/sidecar-shiki
Run Shiki syntax highlighting on AWS Lambda via Sidecar from your Laravel app—no Node.js or Shiki dependencies on your server. Install the package, configure Sidecar, register the HighlightFunction, and render highlighted code fast and consistently.
@shikijs/vscode-textmate.*"This package lets us deliver editor-grade syntax highlighting—like VS Code’s—without managing Node.js or bloating our servers. By offloading Shiki to AWS Lambda via Sidecar, we:
*"Spatie’s sidecar-shiki wraps Shiki (the same engine as VS Code) in a serverless Lambda function, so we can:
Http::post() to Sidecar endpoint).
Tradeoffs:Key Metric to Track: Time saved on syntax-highlighting integration vs. Lambda costs per 1M requests.
How can I help you explore Laravel packages today?