PHP's best friend for the terminal.

Nigel Hough 4fea0af07f Updates minimum vfsstream dependency to fix build breaking with --prefer-lowest composer build 2 years ago
.github b6033c57fe Ensure we test on 8.0 and with lowest declared dependencies 2 years ago
src 27742d3970 Correct #186 that only supported strings instead of other valid types 2 years ago
tests 637555fdf6 Fix the unit test to not depend on the specific environment 2 years ago
.gitattributes 9edbac0adf Replace Travis with GitHub actions 3 years ago
.gitignore 4d3ddf97b6 Remove git settings that should be in global configuration 6 years ago
.scrutinizer.yml 4b6e7219ec exclude tests directory from code analysis 9 years ago
.styleci.yml 67984a865e styleci config file 9 years ago
CHANGELOG.md 22243322c6 Correct the value passed to check if the constant is defined 2 years ago
CODE_OF_CONDUCT.md 26d14737f1 Rename the code of conduct to follow the GitHub guidelines 6 years ago
CONTRIBUTING.md 9c4cb2a79c composer test, added conduct and contributing docs 8 years ago
Dockerfile 6c43c370d2 Drop support for PHP 7.2 3 years ago
LICENSE.md 1f029865a9 updated license filename 9 years ago
README.md 9edbac0adf Replace Travis with GitHub actions 3 years ago
composer.json 4fea0af07f Updates minimum vfsstream dependency to fix build breaking with --prefer-lowest composer build 2 years ago
phpunit.xml f50cc93437 Update PHPUnit to 9.5 (#164) 3 years ago

README.md

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.