PHPackages                             pear2/console\_color - 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. pear2/console\_color

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

pear2/console\_color
====================

Genetaror for ANSI color escape sequences.

1.0.0(12y ago)5459.8k↑11.8%5LGPL-2.1PHPPHP &gt;=5.3.0

Since Mar 2Pushed 8y ago2 watchersCompare

[ Source](https://github.com/pear2/Console_Color)[ Packagist](https://packagist.org/packages/pear2/console_color)[ Docs](http://pear2.github.com/Console_Color/)[ RSS](/packages/pear2-console-color/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (3)Used By (5)

```
This Package provide a easy way to print text with color and style in command line.

It has a simple interface, whereby you just create an object with the color and style information you want,
and it will automatically be converted to an escape sequence when used as a string.
```

###  Health Score

37

—

LowBetter than 83% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

4460d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c89497659df1f0444eec334fd27f4991a1d0b1078bce8a42fc4106048c5651b0?d=identicon)[boen\_robot](/maintainers/boen_robot)

---

Top Contributors

[![boenrobot](https://avatars.githubusercontent.com/u/1029536?v=4)](https://github.com/boenrobot "boenrobot (8 commits)")[![iannsp](https://avatars.githubusercontent.com/u/40551?v=4)](https://github.com/iannsp "iannsp (6 commits)")

---

Tags

ansi-colorsconsolephpcliconsolegeneratorcoloransipear2

### Embed Badge

![Health badge](/badges/pear2-console-color/health.svg)

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[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)[kevinlebrun/colors.php

Colors for PHP CLI scripts

3426.7M45](/packages/kevinlebrun-colorsphp)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)

PHPackages © 2026

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