PHPackages                             php-parallel-lint/php-console-highlighter - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. php-parallel-lint/php-console-highlighter

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

php-parallel-lint/php-console-highlighter
=========================================

Highlight PHP code in terminal

v1.0.0(4y ago)8829.8M—6.4%6[1 PRs](https://github.com/php-parallel-lint/PHP-Console-Highlighter/pulls)20MITPHPPHP &gt;=5.3.2CI passing

Since Nov 23Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/php-parallel-lint/PHP-Console-Highlighter)[ Packagist](https://packagist.org/packages/php-parallel-lint/php-console-highlighter)[ RSS](/packages/php-parallel-lint-php-console-highlighter/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (17)Used By (20)

PHP Console Highlighter
=======================

[](#php-console-highlighter)

[![Downloads this Month](https://camo.githubusercontent.com/c02662d2ad28f7056e53733910d895273681c511321d44e7f7757136bd82b628/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f646d2f7068702d706172616c6c656c2d6c696e742f7068702d636f6e736f6c652d686967686c6967687465722e737667)](https://packagist.org/packages/php-parallel-lint/php-console-highlighter)[![CS](https://github.com/php-parallel-lint/PHP-Console-Highlighter/actions/workflows/cs.yml/badge.svg)](https://github.com/php-parallel-lint/PHP-Console-Highlighter/actions/workflows/cs.yml)[![Test](https://github.com/php-parallel-lint/PHP-Console-Highlighter/actions/workflows/test.yml/badge.svg)](https://github.com/php-parallel-lint/PHP-Console-Highlighter/actions/workflows/test.yml)[![License](https://camo.githubusercontent.com/0100b679170da4b2e10859f7d0dca238066d8a3d63003dae78b923a8f73a7b1d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f7068702d706172616c6c656c2d6c696e742f5048502d436f6e736f6c652d486967686c696768746572)](https://packagist.org/packages/php-parallel-lint/php-console-highlighter)[![Coverage Status](https://camo.githubusercontent.com/868cb134ed844dd7819fd3a29c6531a9ef1beb1e7a2a8f1c3fccd706cc4560fa/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f7068702d706172616c6c656c2d6c696e742f5048502d436f6e736f6c652d486967686c6967687465722f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/php-parallel-lint/PHP-Console-Highlighter?branch=master)

Highlight PHP code in console (terminal).

Example
-------

[](#example)

[![Example](https://camo.githubusercontent.com/78d93e1387569f075058c5943257a504c1747ebaf8d6b40ad7f78eb5a163d084/687474703a2f2f6a616b75626f6e6465726b612e6769746875622e696f2f7068702d636f6e736f6c652d686967686c696768742d6578616d706c652e706e67)](https://camo.githubusercontent.com/78d93e1387569f075058c5943257a504c1747ebaf8d6b40ad7f78eb5a163d084/687474703a2f2f6a616b75626f6e6465726b612e6769746875622e696f2f7068702d636f6e736f6c652d686967686c696768742d6578616d706c652e706e67)

Install
-------

[](#install)

Just run the following command to install it:

```
composer require --dev php-parallel-lint/php-console-highlighter:"0.*"

```

Usage
-----

[](#usage)

```
