Skip to content

Latest commit

 

History

History
executable file
·
28 lines (21 loc) · 528 Bytes

README.md

File metadata and controls

executable file
·
28 lines (21 loc) · 528 Bytes

php-colour-cli

Allows you to have coloured output in the commandline from PHP

Usage

<?php
// Include it manually or put in the library folder
// of your framework. For example, I use it in Laravel
require_once("colourfulcli.php");
// Debugging
Colourfulcli::debug("My text");

// Normal line
Colourfulcli::line("My text");

// a comment
Colourfulcli::comment("My text");

// an error
Colourfulcli::error("My text");

// an info line
Colourfulcli::info("My text");

Contact

http://www.keyboardninja.eu