league/climate

PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.


Keywords
php, cli, command, colors, terminal
License
MIT

Documentation

CLImate

Latest Version Software License Build Status Coverage Status Quality Score Total Downloads

Running PHP from the command line? CLImate is your new best bud.

CLImate allows you to easily output colored text, special formats, and more.

Installation

The recommended method of installing this library is via Composer.

Run the following command from your project root:

$ composer require league/climate

Usage

require_once __DIR__ . "/vendor/autoload.php";

$climate = new \League\CLImate\CLImate;

$climate->red('Whoa now this text is red.');
$climate->blue('Blue? Wow!');

Read more at https://climate.thephpleague.com/

Credits

This library was created by Joe Tannenbaum.
It is currently maintained and developed by Craig Duncan.
Much love to Damian Makki for the logo.