php-pear-console-color2 - Easily use ANSI console colors in your application
Website: | http://pear.php.net/package/Console_Color2 |
---|---|
License: | MIT |
Vendor: | Fedora Project |
- Description:
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.
Packages
php-pear-console-color2-0.1.2-2.el7.noarch [10 KiB] |
Changelog
by Remi Collet (2014-04-13):
- fix from review #1066255 - /usr/share/pear/Console is own by pear - fix description |