PHP's best friend for the terminal.

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

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.