Top Level :: Console

Package Information: Console_Color2

» Summary » License
This Class allows you to easily use ANSI console colors in your application. MIT
» Current Release » Bug Summary
0.1.1 (alpha) was released on 2012-03-14 (Changelog)
Easy Install

Not sure? Get more info.

pear install Console_Color2

Pyrus Install

Try PEAR2's installer, Pyrus.

php pyrus.phar install pear/Console_Color2

No open bugs
Report a new bug to Console_Color2
» Description
You can use Console_Color2::convert() to transform colorcodes like %r into ANSI
control codes.

$console = new Console_Color2();
print $console->convert("%rHello World!%n");

would print "Hello World" in red, for example.
» Maintainers » More Information

Dependencies for Console_Color2