Search package by name
Package Management
Package Search
Channel Management
Configuration
Warning:
This package management website is
not protected
with a password, this is a MAJOR security risk. Please read the
README
.
Package
Console_Color2
Installed
- no -
Latest
0.1.2
License
MIT
Summary
This Class allows you to easily use ANSI console colors in your application.
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.
Dependencies
PHP Version: 5.0.0 or newer
PEAR Package:
pear.php.net/PEAR
1.5.6 or newer
Options
Install package
More
Extended Package Information
pear.php.net Developer Documentation
pear.php.net Package Manual