https://github.com/tempestphp/highlight
🎨 Fast, extensible, server-side code highlighting for web and terminal
https://github.com/tempestphp/highlight
code highlight php
Last synced: about 2 months ago
JSON representation
🎨 Fast, extensible, server-side code highlighting for web and terminal
- Host: GitHub
- URL: https://github.com/tempestphp/highlight
- Owner: tempestphp
- License: mit
- Created: 2024-03-15T09:29:27.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-05-08T06:56:24.000Z (2 months ago)
- Last Synced: 2025-05-08T07:34:57.271Z (2 months ago)
- Topics: code, highlight, php
- Language: PHP
- Homepage: https://tempest.stitcher.io/highlight/01-getting-started
- Size: 1.15 MB
- Stars: 662
- Watchers: 7
- Forks: 41
- Open Issues: 17
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
Awesome Lists containing this project
README
# Fast, extensible, server-side code highlighting
[](https://coveralls.io/github/tempestphp/highlight?branch=main)## Quickstart
```php
composer require tempest/highlight
```Highlight code like this:
```php
$highlighter = new \Tempest\Highlight\Highlighter();$code = $highlighter->parse($code, 'php');
```Continue reading in the docs: [https://tempestphp.com/docs/highlight/01-getting-started](https://tempestphp.com/docs/highlight/01-getting-started).