Registry / cli / php-parallel-lint-php-console-highlighter

php-parallel-lint-php-console-highlighter

JSON →
library1.0.0phppackagistunverified

Highlight PHP code in terminal

composer require php-parallel-lint/php-console-highlighter
INSTALL
IMPORT
SIG · PHP-PARALLEL-LINT-
P
php-parallel-lint-php-console-highlighter
cliphpv1.0.0
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 first line in the terminal

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

No known issues recorded.

Upgrade
Version history
1.0.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
24 hits · last 30 days
node
22
Amazon
1
OpenAI (training)
1
Resources
php-parallel-lint-php-console-highlighter — pip install php-parallel-lint-php-console-highlighter · libregistry