easybook/geshi
GeSHi is a PHP syntax highlighter that converts source code into HTML with language-aware formatting. This EasyBook-maintained fork supports numerous languages and is useful for rendering code in documentation, blogs, and PHP applications.
SyntaxHighlighterInterface or service class, but it should not become a core application dependency. It is best suited to pre-rendering trusted code snippets at write time or in a queued job, not to request-time highlighting of arbitrary user input.highlight.php, Pygments, Shiki, or Torchlight? Do we need GeSHi-specific language coverage or output markup? Can highlighting be pre-rendered and cached? Who owns the adapter and upgrade path?composer why-not check. Pin the exact version and document the supported PHP/Laravel range.How can I help you explore Laravel packages today?