PHPackages                             m4rc1no5/color-bash-prompt - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. m4rc1no5/color-bash-prompt

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

m4rc1no5/color-bash-prompt
==========================

Color your bash commands

1556PHP

Since Dec 11Pushed 10y ago1 watchersCompare

[ Source](https://github.com/m4rc1no5/ColorBashPrompt)[ Packagist](https://packagist.org/packages/m4rc1no5/color-bash-prompt)[ RSS](/packages/m4rc1no5-color-bash-prompt/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ColorBashPrompt
===============

[](#colorbashprompt)

[![Total Downloads](https://camo.githubusercontent.com/b16aef21c8e9efce34497349236377510ac02f7a35b1fd3113b07d948d4bd27f/68747470733a2f2f706f7365722e707567782e6f72672f6d347263316e6f352f636f6c6f722d626173682d70726f6d70742f646f776e6c6f616473)](https://packagist.org/packages/m4rc1no5/color-bash-prompt)

Color your bash commands

Documentation
=============

[](#documentation)

Table of contents
-----------------

[](#table-of-contents)

1. [Installation](#installation)
2. [Examples](#examples)

Installation
----------------------------------------------------

[](#installation)

ColorBashPrompt is available at packagist.org, so you can use composer to download this library and all dependencies.

*(add to require section in your composer.json file)*

```
    {
        "require": {
            "m4rc1no5/color-bash-prompt": "@dev"
        }
    }
```

Examples
--------------------------------------------

[](#examples)

```
// create ColorBashPrompt
$cbp = new ColorBashPrompt();

//yellow text in console
echo $cbp->writeln("Yellow text", ColorBashPrompt::YELLOW);
```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/3e540d71dc951ede4617b20b7b74c4d3d5edda7d1f2da851c52db09929822eb2?d=identicon)[m4rc1no5](/maintainers/m4rc1no5)

---

Top Contributors

[![m4rc1no5](https://avatars.githubusercontent.com/u/225676?v=4)](https://github.com/m4rc1no5 "m4rc1no5 (10 commits)")

### Embed Badge

![Health badge](/badges/m4rc1no5-color-bash-prompt/health.svg)

```
[![Health](https://phpackages.com/badges/m4rc1no5-color-bash-prompt/health.svg)](https://phpackages.com/packages/m4rc1no5-color-bash-prompt)
```

PHPackages © 2026

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