Blog |
Forum |
Repository |
Wizard
Jump to letter: [
ABCDEFGHILMOPQRSTUWXZ
]
php-pear-console-color2 - Easily use ANSI console colors in your application
- Website:
- http://pear.php.net/package/Console_Color2
- Licence:
- MIT
- Vendor:
- Remi Collet
- 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