PHP's best friend for the terminal. CLImate allows you to easily output colored text, special formats, and more.
Running PHP from the command line? CLImate is your new best bud.
CLImate allows you to easily output colored text, special formats, and more.
The recommended method of installing this library is via Composer.
Run the following command from your project root:
$ composer require league/climate
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/