league/climate

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

Maintainers

👁 joetannenbaum

Package info

github.com/thephpleague/climate

pkg:composer/league/climate

Statistics

Installs: 14 643 438

Dependents: 310

Suggesters: 10

Stars: 1 889

Open Issues: 14

3.11.0 2026-06-09 11:34 UTC

Requires

Requires (Dev)

Suggests

  • ext-mbstring: If ext-mbstring is not available you MUST install symfony/polyfill-mbstring

Provides

None

Conflicts

None

Replaces

None

MIT 66f14fb99570673597856575dfd9a48984fe49b0

phpclicommandcolorsterminal


README

👁 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.