...overview of the extension...
Yii 1.0 and above
Download extension into extensions directory
Add to component in configuration file: //protected/config/main.php ... 'components'=>array( ... 'cliColor' => array( 'class' => 'ext.yii-cli-color.components.KCliColor', ),
echo Yii::app()->cliColor->getColoredString("This text will be blue", 'blue'); echo Yii::app()->cliColor->getColoredString("This text will be red, with a black background", 'red', 'black);
Be the first person to leave a comment
Please login to leave your comment.