Baike.dev
All toolsOnline toolsAI codingTrendingOpen sourceNewsSubmit
Log in
< Back to tools
P

phiki

> 编程语言
Open source

Syntax highlighting powered by TextMate grammars in PHP.

370 stars0 likes1 views
WebsiteGitHub

About

Syntax highlighting powered by TextMate grammars in PHP.

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:

bash
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

  • Ryan Chandler
  • Shiki for API inspiration and TextMate grammar files via tm-grammars and tm-themes.
  • vscode-textmate for guiding the implementation of the internal tokenizer.

Issues· 0 open

View all issuesOpen on GitHub

No open issues yet, or sync has not completed.

> Tags

PHP

No comments yet. Be the first to share.

> Details

PublishedAug 1, 2026
UpdatedSep 17, 2026
Category编程语言
PricingOpen source

> Related tools

T
TypeScript
JavaScript 的超集,为前端与全栈提供静态类型
P
Python
通用编程语言,广泛用于 Web、数据与 AI
G
Go
Google 推出的简洁高效系统语言