PHP's best friend for the terminal.

Craig Duncan a785a3ac8f Prepare version 3.8.2 2 years ago
.github c38da645e8 Ensure we test on 8.0 and with lowest declared dependencies 2 years ago
src 4757de4e45 Support psr/log 3 (#191) 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 a785a3ac8f Prepare version 3.8.2 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 4757de4e45 Support psr/log 3 (#191) 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.