PHPackages                             sbolch/console-helper - 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. sbolch/console-helper

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

sbolch/console-helper
=====================

Makes console formatting easier.

v1.0(2y ago)19MITPHPPHP &gt;=7.2

Since Jul 10Pushed 2mo ago1 watchersCompare

[ Source](https://github.com/sbolch/console-helper)[ Packagist](https://packagist.org/packages/sbolch/console-helper)[ Docs](https://github.com/sbolch/console-helper)[ Fund](https://ko-fi.com/arnyek)[ RSS](/packages/sbolch-console-helper/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

ConsoleHelper
=============

[](#consolehelper)

> Makes console formatting easier.

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

[](#installation)

Open a command console, enter your project directory and execute the following command to download the latest stable version of this bundle:

```
$ composer require sbolch/console-helper
```

This command requires you to have Composer installed globally, as explained in the [installation chapter](https://getcomposer.org/doc/00-intro.md)of the Composer documentation.

Usage
-----

[](#usage)

```
use sbolch\ConsoleHelper;

echo ConsoleHelper::success("Task completed.\n");
echo ConsoleHelper::error("Failure!\n");
echo ConsoleHelper::warning("Attention!\n");
echo ConsoleHelper::info('5 items updated.');
echo ConsoleHelper::replace(ConsoleHelper::info('6 items updated.'));
echo "\n";
echo ConsoleHelper::replaceLine('All previous lines are replaced with this.', 4);
echo ConsoleHelper::progress(
    50, // percentage
    10  // width in characters, default is 20
); // prints this: █████░░░░░
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance57

Moderate activity, may be stable

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

1041d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6d07773b12732581240d3515028d3b6a17f8074aa2d3c96250cb97e0243394eb?d=identicon)[sbolch](/maintainers/sbolch)

---

Top Contributors

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

---

Tags

consolehelperphpconsole

### Embed Badge

![Health badge](/badges/sbolch-console-helper/health.svg)

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

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