Skip to content

Allows you to have coloured output in the commandline from PHP

Notifications You must be signed in to change notification settings

pprins/php-colour-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 

Repository files navigation

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

About

Allows you to have coloured output in the commandline from PHP

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages