Registry / cli / jakub-onderka-php-console-highlighter

jakub-onderka-php-console-highlighter

JSON →
library0.3.2phppackagistunverified

Highlights PHP code syntax in terminal output with colors.

composer require jakub-onderka/php-console-highlighter
INSTALL
IMPORT
SIG · JAKUB-ONDERKA-PHP-
J
jakub-onderka-php-console-highlighter
cliphpv0.3.2
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Highlighter
use JakubOnderka\PhpConsoleHighlighter\Highlighter;

Highlight a PHP file's content for terminal display.

use JakubOnderka\PhpConsoleHighlighter\Highlighter; $highlighter = new Highlighter(); echo $highlighter->getCodeSnippet(file_get_contents('example.php'));
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.3.2latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
22 hits · last 30 days
node
20
OpenAI (training)
1
Resources
jakub-onderka-php-console-highlighter — pip install jakub-onderka-php-console-highlighter · libregistry