PHPackages                             pear/console\_color2 - 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. pear/console\_color2

ArchivedLibrary[CLI &amp; Console](/categories/cli)

pear/console\_color2
====================

This Class allows you to easily use ANSI console colors in your application.

0.1.2(13y ago)51.3M↓13.6%36MITPHPPHP &gt;=5.0.0

Since Oct 23Pushed 11y ago4 watchersCompare

[ Source](https://github.com/pear/Console_Color2)[ Packagist](https://packagist.org/packages/pear/console_color2)[ Docs](https://github.com/pear/Console_Color2)[ RSS](/packages/pear-console-color2/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (6)

```
This package is http://pear.php.net/package/Console_Color and has been migrated from http://svn.php.net/repository/pear/packages/Console_Color

Please report all new issues via the PEAR bug tracker.

If this package is marked as unmaintained and you have fixes, please submit your pull requests and start discussion on the pear-qa mailing list.

To test, run either
$ phpunit tests/
  or
$ pear run-tests -r

To build, simply
$ pear package

To install from scratch
$ pear install package.xml

To upgrade
$ pear upgrade -f package.xml
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity45

Moderate usage in the ecosystem

Community24

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.6% 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

Unknown

Total

1

Last Release

4955d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/365751?v=4)[Daniel O'Connor](/maintainers/CloCkWeRX)[@CloCkWeRX](https://github.com/CloCkWeRX)

---

Top Contributors

[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (10 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")[![RobLoach](https://avatars.githubusercontent.com/u/25086?v=4)](https://github.com/RobLoach "RobLoach (2 commits)")[![txgruppi](https://avatars.githubusercontent.com/u/91159?v=4)](https://github.com/txgruppi "txgruppi (1 commits)")[![jnovack](https://avatars.githubusercontent.com/u/387006?v=4)](https://github.com/jnovack "jnovack (1 commits)")[![convissor](https://avatars.githubusercontent.com/u/187163?v=4)](https://github.com/convissor "convissor (1 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (1 commits)")

---

Tags

console

### Embed Badge

![Health badge](/badges/pear-console-color2/health.svg)

```
[![Health](https://phpackages.com/badges/pear-console-color2/health.svg)](https://phpackages.com/packages/pear-console-color2)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nunomaduro/termwind

It's like Tailwind CSS, but for the console.

2.5k239.8M286](/packages/nunomaduro-termwind)[nunomaduro/phpinsights

Instant PHP quality checks from your console.

5.6k10.8M426](/packages/nunomaduro-phpinsights)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)

PHPackages © 2026

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