by JakubOnderka

Highlight PHP code in terminal

6.1K Stars 18 Forks Last release: about 2 years ago (v0.4) MIT License 63 Commits 6 Releases

Available items

No Items, yet!

The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:

PHP Console Highlighter

This repository is abandoned.

Suggested alternative:

Highlight PHP code in console (terminal).




Just create a

file and run the
php composer.phar install
command to install it:
    "require": {
        "jakub-onderka/php-console-highlighter": "0.*"


require DIR . '/vendor/autoload.php';

$highlighter = new Highlighter(new ConsoleColor());

$fileContent = file_get_contents(FILE); echo $highlighter->getWholeFile($fileContent);

Downloads this Month Build Status License

We use cookies. If you continue to browse the site, you agree to the use of cookies. For more information on our use of cookies please see our Privacy Policy.