PHPackages                             hegland/consoleoutput - 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. hegland/consoleoutput

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

hegland/consoleoutput
=====================

Consoleoutput with(out) colors and with(out) time

1.0.0(9y ago)1921Apache License 2.0PHPPHP &gt;=5.6

Since Feb 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/rogerhegland/consoleoutput)[ Packagist](https://packagist.org/packages/hegland/consoleoutput)[ Docs](https://github.com/rogerhegland/consoleoutput)[ RSS](/packages/hegland-consoleoutput/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (1)Versions (2)Used By (0)

text-parser
===========

[](#text-parser)

Consoleoutput with(out) colors, with(out) a new line and with(out) the time.

examples
--------

[](#examples)

```
// Print a green text without a new line and without the time
Consoleoutput::write('Hello, I am green');

// Print a green text with a new line and without the time
Consoleoutput::writeLn('Hello, I am green');

// Print a green text with the time and without a new line
Consoleoutput::writeT('Hello, I am green');

// Print a green text with a new line and with the time
Consoleoutput::writeLnT('Hello, I am green');

// print a white text with a blue background
Consoleoutput::write('Hello, I am white with a blue background');

// Possibles foreground colors
// - black
// - dark_gray
// - blue
// - light_blue
// - green
// - light_green
// - cyan
// - light_cyan
// - red
// - light_red
// - purple
// - light_purple
// - brown
// - yellow
// - light_gray
// - white

// Possibles background colors
// - b_black
// - b_red
// - b_green
// - b_yellow
// - b_blue
// - b_magenta
// - b_cyan
// - b_light_gray
```

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3424d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/393c898cfe774fe2e62be217b533ffa405989c7154bca2f68a2f8b21f1124250?d=identicon)[rogerhegland](/maintainers/rogerhegland)

---

Top Contributors

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

---

Tags

consoleoutput

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/hegland-consoleoutput/health.svg)

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

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

An interactive shell for modern PHP.

9.8k569.8M796](/packages/psy-psysh)[nunomaduro/collision

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

4.7k357.7M10.6k](/packages/nunomaduro-collision)[nunomaduro/termwind

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

2.5k260.6M370](/packages/nunomaduro-termwind)[wp-cli/php-cli-tools

Console utilities for PHP

68227.8M374](/packages/wp-cli-php-cli-tools)

PHPackages © 2026

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