Phiki
phikiphp/phikiПідтримка синтаксичного виділення за допомогою TextMate грамар у PHP.
README

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
- Ryan Chandler
- Shiki for API inspiration and TextMate grammar files via
tm-grammarsandtm-themes. vscode-textmatefor guiding the implementation of the internal tokenizer.
Схожі пакети
Blade Icons
blade-ui-kit/blade-iconsПакет для легкого використання іконок у ваших Laravel Blade-шаблонах.
Mary
robsontenorio/maryКрасиві компоненти інтерфейсу для Livewire, що працюють на основі daisyUI та Tailwind.
Laravel Markdown
grahamcampbell/laravel-markdownMarkdown це обгортка CommonMark для Laravel, яка забезпечує зручну роботу з Markdown у додатках.
Modal
wire-elements/modalКомпонент модального вікна для Laravel Livewire, що дозволяє легко створювати та управляти модальними діалогами в інтерактивних додатках.
Інформація
- Версія
- v2.2.0
- Зірки
- 366
- Завантажень
- 3.8M
- Реліз
- 1 квітня 2026
- Категорія
- Інтерфейс: Blade, теми, іконки