Easily use ANSI console colors in your application
You can use Console_Color::convert to transform colorcodes like %r into ANSI control codes. <?php include "Console/Color2.php"; $console = new Console_Color2(); print $console->convert("%rHello World!%n"); ?> would print "Hello World" in red, for example.
Release | Stable | Testing |
---|---|---|
EPEL 7 | 0.1.2-2.el7 | - |
You can contact the maintainers of this package via email at
php-pear-console-color2 dash maintainers at fedoraproject dot org
.