Skip to content

Instantly share code, notes, and snippets.

View unreal4u's full-sized avatar

Camilo Sperberg unreal4u

View GitHub Profile
@satooshi
satooshi / ColorCLI.php
Last active December 12, 2015 09:19 — forked from donatj/ColorCLI.php
<?php
/**
* PHP CLI Colors – PHP Class Command Line Colors (bash)
*
* $str = "This is an example ";
*
* foreach (ColorCLI::$foregroundColors as $fg => $fgCode) {
* echo ColorCLI::$fg($str);
*