phiki/phiki

Syntax highlighting using TextMate grammars in PHP.

Fund package maintenance!
ryangjchandler
Other

Installs: 126 611

Dependents: 6

Suggesters: 1

Security: 0

Stars: 297

Watchers: 2

Forks: 13

Open Issues: 4


README

Phiki

Phiki is a syntax highlighter written in PHP. It uses TextMate grammar files and Visual Studio Code themes to generate syntax highlighted code for the web.

The name and public API of Phiki is heavily inspired by Shiki, a package that does more or less the same thing in the JavaScript ecosystem. The actual implementation of the package is also heavily inspired by vscode-textmate which is the powerhouse of a package behind Visual Studio Code, Shiki, and others.

Installation

Install Phiki via Composer:

composer require phiki/phiki

Documentation

For more information on how to integrate Phiki into your application, please visit the official documentation.

Support my work

If you find Phiki useful, please consider supporting me through GitHub Sponsors or Buy me a Coffee.

All sponsorships go towards the maintenance and continuous improvement of my open source projects.

Credits