PHPackages                             joetannenbaum/climate - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [CLI &amp; Console](/categories/cli)
4. /
5. joetannenbaum/climate

Abandoned → [league/climate](/?search=league%2Fclimate)Library[CLI &amp; Console](/categories/cli)

joetannenbaum/climate
=====================

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

3.8.1(4y ago)1.8k1.0k124[13 issues](https://github.com/joetannenbaum/climate/issues)[2 PRs](https://github.com/joetannenbaum/climate/pulls)MITPHPPHP ^7.3 || ^8.0CI passing

Since Aug 19Pushed 1mo ago54 watchersCompare

[ Source](https://github.com/joetannenbaum/climate)[ Packagist](https://packagist.org/packages/joetannenbaum/climate)[ RSS](/packages/joetannenbaum-climate/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (5)Versions (45)Used By (0)

[![CLImate](https://camo.githubusercontent.com/3587ffa38e756d5012fd165aaf3c40dfceeb20053d210f10d68ea0d59baadd04/687474703a2f2f636c696d6174652e7468657068706c65616775652e636f6d2f696d672f434c496d6174655f426c696e6b2e676966)](https://camo.githubusercontent.com/3587ffa38e756d5012fd165aaf3c40dfceeb20053d210f10d68ea0d59baadd04/687474703a2f2f636c696d6174652e7468657068706c65616775652e636f6d2f696d672f434c496d6174655f426c696e6b2e676966)

[![Latest Version](https://camo.githubusercontent.com/a036014fd85df22671d1710cfe51d97f86d3634acd595e1a6e313e9f6d014e7f/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7461672f7468657068706c65616775652f636c696d6174652e7376673f7374796c653d666c6174266c6162656c3d72656c65617365)](https://github.com/thephpleague/climate/tags)[![Software License](https://camo.githubusercontent.com/f251623e510f5909f16ae3f4e6e548dac11340b9fde1a99be26b015b39272c00/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c6174)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/72ac6a30622116a15774b06c1fd26933aa12dfcc8fec344ea0a2410cbb2e2f56/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f7468657068706c65616775652f636c696d6174652f6275696c64636865636b2e796d6c3f6272616e63683d6d61696e)](https://github.com/thephpleague/climate/actions?query=branch%3Amain+workflow%3Abuildcheck)[![Coverage Status](https://camo.githubusercontent.com/dccd7be04e41cdb7e3d886a7ef550e455040c2decfb55e6a705d492f30b1498f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f7468657068706c65616775652f636c696d6174652e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/thephpleague/climate/code-structure)[![Quality Score](https://camo.githubusercontent.com/dbebb0e4c4c994d813561d3e72930b250fafdf25b2a138046bd2f2146294c9e0/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f7468657068706c65616775652f636c696d6174652e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/thephpleague/climate)[![Total Downloads](https://camo.githubusercontent.com/8ec6e351c02e167e1a298804accdd98a670c541abd2f12617a46b7feac7bd00a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c65616775652f636c696d6174652e7376673f7374796c653d666c6174)](https://packagist.org/packages/league/climate)

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

[](#installation)

The recommended method of installing this library is via [Composer](https://getcomposer.org/).

Run the following command from your project root:

```
$ composer require league/climate
```

Usage
-----

[](#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 *

Credits
-------

[](#credits)

This library was created by [Joe Tannenbaum](https://joe.codes/).
It is currently maintained and developed by [Craig Duncan](https://twitter.com/duncan3dc).
Much love to [Damian Makki](https://dribbble.com/damianmakki) for the logo.

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance58

Moderate activity, may be stable

Popularity41

Moderate usage in the ecosystem

Community34

Small or concentrated contributor base

Maturity81

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 70.8% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~73 days

Recently: every ~196 days

Total

38

Last Release

1575d ago

Major Versions

0.2.0 → 1.0.02014-09-07

1.0.2 → 2.0.02014-09-16

2.6.1 → 3.0.02015-03-02

PHP version history (5 changes)0.1.0PHP &gt;=5.4.0

3.3.0PHP ^5.6|^7.0

3.5.0PHP ^7.1

3.6.0PHP ^7.2

3.7.0PHP ^7.3 || ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8cc9e697c220afa4ac18184d1aaab004e2da9448ac251a74e6031eec48b21601?d=identicon)[joetannenbaum](/maintainers/joetannenbaum)

---

Top Contributors

[![joetannenbaum](https://avatars.githubusercontent.com/u/2702148?v=4)](https://github.com/joetannenbaum "joetannenbaum (439 commits)")[![duncan3dc](https://avatars.githubusercontent.com/u/546811?v=4)](https://github.com/duncan3dc "duncan3dc (130 commits)")[![terah](https://avatars.githubusercontent.com/u/2120322?v=4)](https://github.com/terah "terah (8 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (4 commits)")[![klaude](https://avatars.githubusercontent.com/u/45157?v=4)](https://github.com/klaude "klaude (4 commits)")[![azjezz](https://avatars.githubusercontent.com/u/29315886?v=4)](https://github.com/azjezz "azjezz (3 commits)")[![dshafik](https://avatars.githubusercontent.com/u/58074?v=4)](https://github.com/dshafik "dshafik (3 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (2 commits)")[![philsturgeon](https://avatars.githubusercontent.com/u/67381?v=4)](https://github.com/philsturgeon "philsturgeon (2 commits)")[![RyanNerd](https://avatars.githubusercontent.com/u/10543911?v=4)](https://github.com/RyanNerd "RyanNerd (2 commits)")[![jasverix](https://avatars.githubusercontent.com/u/22839684?v=4)](https://github.com/jasverix "jasverix (2 commits)")[![ElGigi](https://avatars.githubusercontent.com/u/18268216?v=4)](https://github.com/ElGigi "ElGigi (2 commits)")[![everton3x](https://avatars.githubusercontent.com/u/582620?v=4)](https://github.com/everton3x "everton3x (2 commits)")[![SidRoberts](https://avatars.githubusercontent.com/u/1364214?v=4)](https://github.com/SidRoberts "SidRoberts (1 commits)")[![sobhanlori](https://avatars.githubusercontent.com/u/26341429?v=4)](https://github.com/sobhanlori "sobhanlori (1 commits)")[![torohill](https://avatars.githubusercontent.com/u/281118?v=4)](https://github.com/torohill "torohill (1 commits)")[![yparisien](https://avatars.githubusercontent.com/u/7966762?v=4)](https://github.com/yparisien "yparisien (1 commits)")[![ZeljkaBlazek](https://avatars.githubusercontent.com/u/32762399?v=4)](https://github.com/ZeljkaBlazek "ZeljkaBlazek (1 commits)")[![BR0kEN-](https://avatars.githubusercontent.com/u/2760616?v=4)](https://github.com/BR0kEN- "BR0kEN- (1 commits)")[![danielemontesi](https://avatars.githubusercontent.com/u/7299199?v=4)](https://github.com/danielemontesi "danielemontesi (1 commits)")

---

Tags

phpcliterminalcommandcolors

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/joetannenbaum-climate/health.svg)

```
[![Health](https://phpackages.com/badges/joetannenbaum-climate/health.svg)](https://phpackages.com/packages/joetannenbaum-climate)
```

###  Alternatives

[league/climate

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

1.9k14.0M273](/packages/league-climate)[phalcon/cli-options-parser

Command line arguments/options parser.

181.0M7](/packages/phalcon-cli-options-parser)[bvanhoekelen/terminal-style

Return your terminal message in style! Change the text style, text color and text background color form the terminal interface with ANSI color codes. The terminal style tool support Laravel and Composer.

19784.4k2](/packages/bvanhoekelen-terminal-style)[php-school/learn-you-php

An introduction to PHP's core features: i/o, http, arrays, exceptions and so on.

3192.0k](/packages/php-school-learn-you-php)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
