PHPackages                             chornij/console - 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. [CLI &amp; Console](/categories/cli)
4. /
5. chornij/console

ActiveLibrary[CLI &amp; Console](/categories/cli)

chornij/console
===============

Console tools

0.1.4(10y ago)031MITPHPPHP &gt;=5.4.0

Since Aug 3Pushed 10y ago1 watchersCompare

[ Source](https://github.com/chornij/console)[ Packagist](https://packagist.org/packages/chornij/console)[ RSS](/packages/chornij-console/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (6)Used By (0)

PHP console tools
=================

[](#php-console-tools)

[![Code Climate](https://camo.githubusercontent.com/607bd813f0b775f1fcd834b1d7ddc8d7b869bd3d10a2d62b2e45e00c44a6ea20/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f63686f726e696a2f636f6e736f6c652f6261646765732f6770612e737667)](https://codeclimate.com/github/chornij/console)[![Test Coverage](https://camo.githubusercontent.com/2ec5c8393332ac0bbe65f8309a6196f643d08f62002bb21a24a5ea370a653bea/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f63686f726e696a2f636f6e736f6c652f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/chornij/console/coverage)[![Build Status](https://camo.githubusercontent.com/2dd2854c8fa0b2253de23a599f0bfd6e89dff5fcfb67a1ac1ec8e2df5a8b28c8/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f63686f726e696a2f636f6e736f6c652e706e67)](http://travis-ci.org/chornij/console)

- Report component - allow colorize output in console (useful for testing)

Installation
------------

[](#installation)

The preferred way to install this component is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require chornij/console "0.1.*"

```

or add

```
"chornij/console": "0.1.8"

```

to the require section of your `composer.json` file.

USAGE
-----

[](#usage)

Using Report component in PHPUnit tests:
----------------------------------------

[](#using-report-component-in-phpunit-tests)

```
