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

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

heropoo/console
===============

A cli component

v0.1.2(6y ago)01861MITPHP

Since Mar 16Pushed 6y ago1 watchersCompare

[ Source](https://github.com/heropoo/console)[ Packagist](https://packagist.org/packages/heropoo/console)[ RSS](/packages/heropoo-console/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (4)Used By (1)

console
=======

[](#console)

console

install
-------

[](#install)

via composer

```
composer require heropoo/console

```

usage
-----

[](#usage)

```
$console = new \Moon\Console\Console();

$console->add('hello', function (){
    return 'Hello world!';
});
$console->add('ping', 'PingCommand::ping');

$app = new \Moon\Console\ConsoleApplication();
$status = $app->handleCommand($console);
exit($status);
```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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 ~202 days

Total

3

Last Release

2259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8b0aebfada1ff3d61e26a62d2aa27f8c62453f404222097e049acc90b5644116?d=identicon)[heropoo](/maintainers/heropoo)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24726.4M22](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

13045.3M6.2k](/packages/illuminate-console)[styleci/cli

The CLI tool for StyleCI

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

Windows command-line formatter

20718.9k21](/packages/winbox-args)

PHPackages © 2026

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