PHPackages                             blesta/consoleation - 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. blesta/consoleation

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

blesta/consoleation
===================

A Command Line User Interface

1.0.0(7y ago)1662↓63.3%MITPHPPHP &gt;=5.3.0

Since Oct 24Pushed 7y ago4 watchersCompare

[ Source](https://github.com/blesta/consoleation)[ Packagist](https://packagist.org/packages/blesta/consoleation)[ Docs](https://github.com/blesta/consoleation)[ RSS](/packages/blesta-consoleation/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Consoleation
============

[](#consoleation)

[![Build Status](https://camo.githubusercontent.com/e5c7398fe544b605c4f9621ed46f392927cf5f4d1db8debe8afe7c3797e2ba6a/68747470733a2f2f7472617669732d63692e6f72672f626c657374612f636f6e736f6c656174696f6e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/blesta/consoleation)

A simple library for output to command-line and setting a progress bar

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

[](#installation)

Install via Composer

```
composer require blesta/consoleation

```

Basic Usage
-----------

[](#basic-usage)

### Retrieve a single line from standard input

[](#retrieve-a-single-line-from-standard-input)

```
use Blesta/Consoleation/Console;

$console = new Console();
$line = $console->getLine();

```

### Display content to standard output

[](#display-content-to-standard-output)

```
use Blesta/Consoleation/Console;

$console = new Console();
$console->output("This is a single line with a blank new line\n");

```

Any number of additional arguments may be passed to *output* to perform string replacements via `sprintf`.

```
use Blesta/Consoleation/Console;

$console = new Console();
$console->output("Would you like %s or %s?", "apples", "oranges");

```

### Display a progress bar

[](#display-a-progress-bar)

```
use Blesta/Consoleation/Console;

$console = new Console();
$console->output("Performing the installation...\n");

$start = 1;
$finish = 5;
$progressBarCharLength = 50;
foreach (range($start, $finish) as $index => $number) {
    $console->progressBar($index + 1, $finish, $progressBarCharLength);
    sleep(1);
}

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

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

Every ~0 days

Total

2

Last Release

2810d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e1100c7dbee65c40edf82c25a4b7d5a34bd677ff86263396ca2ac5163da1dbe0?d=identicon)[tysonphillips](/maintainers/tysonphillips)

![](https://www.gravatar.com/avatar/b73da57e4fcb22c7d7f459b2bd00ea7bceb6252df0cd14e2d0bf4b6a145709fc?d=identicon)[paulphillips](/maintainers/paulphillips)

![](https://avatars.githubusercontent.com/u/549065?v=4)[Jono O'Shea](/maintainers/Jono)[@jono](https://github.com/jono)

---

Top Contributors

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

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/blesta-consoleation/health.svg)

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

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.5k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

71470.5k9](/packages/styleci-cli)[winbox/args

Windows command-line formatter

20720.9k21](/packages/winbox-args)[tomatophp/filament-artisan

Simple but yet powerful library for running some artisan commands for FilamentPHP

3275.4k1](/packages/tomatophp-filament-artisan)

PHPackages © 2026

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