PHPackages                             hoa/cli - 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. hoa/cli

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

hoa/cli
=======

The Hoa\\Cli library.

2.17.07.12(8y ago)1250.5k↓39.2%5[3 issues](https://github.com/hoaproject/Cli/issues)2BSD-3-ClausePHP

Since Jul 15Pushed 8y ago8 watchersCompare

[ Source](https://github.com/hoaproject/Cli)[ Packagist](https://packagist.org/packages/hoa/cli)[ Docs](https://hoa-project.net/)[ RSS](/packages/hoa-cli/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (11)Used By (2)

 [![Hoa](https://camo.githubusercontent.com/2b5c32c5d4bc5e9298821b22d364a522e2dbc0295c1c011b1f9f86a4d07df07e/68747470733a2f2f7374617469632e686f612d70726f6a6563742e6e65742f496d6167652f486f612e737667)](https://camo.githubusercontent.com/2b5c32c5d4bc5e9298821b22d364a522e2dbc0295c1c011b1f9f86a4d07df07e/68747470733a2f2f7374617469632e686f612d70726f6a6563742e6e65742f496d6167652f486f612e737667)

---

 [![Build status](https://camo.githubusercontent.com/ece82e627548151a5a5a7ba80a2711124fd07030a30118fb8d7688ce828215b6/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f686f6170726f6a6563742f636c692f6d61737465722e737667)](https://travis-ci.org/hoaproject/cli) [![Code coverage](https://camo.githubusercontent.com/94e05606b6d43b7dcb1eb1b23331f312946c5979e89ec1fc7b494b75b63b2a40/68747470733a2f2f696d672e736869656c64732e696f2f636f766572616c6c732f686f6170726f6a6563742f636c692f6d61737465722e737667)](https://coveralls.io/github/hoaproject/cli?branch=master) [![Packagist](https://camo.githubusercontent.com/01bfc2fd3c6a7e3bfecc6dbed00cdcb4e253403897fec3e03444815204d2408e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f686f612f636c692e737667)](https://packagist.org/packages/hoa/cli) [![License](https://camo.githubusercontent.com/88db7998a44275b94c609bf965359b7da2e46b9998065b010e4cf6d9cb528c4b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f686f612f636c692e737667)](https://hoa-project.net/LICENSE)

 Hoa is a **modular**, **extensible** and **structured** set of PHP libraries.
 Moreover, Hoa aims at being a bridge between industrial and research worlds.

Hoa\\Cli
========

[](#hoacli)

[![Help on IRC](https://camo.githubusercontent.com/4dbc9c9d28c30cf1ab591f4bb8212fe4dbddc734145df532a9bb86b09878d4c6/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f68656c702d253233686f6170726f6a6563742d6666303036362e737667)](https://webchat.freenode.net/?channels=#hoaproject)[![Help on Gitter](https://camo.githubusercontent.com/8c4c85951788ff606b1268cb3dd946be05e3054795455d0a7b9250711bc2ac05/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f68656c702d6769747465722d6666303036362e737667)](https://gitter.im/hoaproject/central)[![Documentation](https://camo.githubusercontent.com/7059ad5f1a363f9098686c59d432f01d7330aed9d4b6c8111d985fd64cfc6c60/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63756d656e746174696f6e2d6861636b5f626f6f6b2d6666303036362e737667)](https://central.hoa-project.net/Documentation/Library/Cli)[![Board](https://camo.githubusercontent.com/fd81654ba14b3aca3a713e1b471bc3fc3ba7b5bb3761ccffd6eea2e2ed1fa5ca/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6f7267616e69736174696f6e2d626f6172642d6666303036362e737667)](https://waffle.io/hoaproject/cli)

This meta-library provides the `hoa` command line. This is a shell tool to access libraries' commands.

[Learn more](https://central.hoa-project.net/Documentation/Library/Cli).

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

[](#installation)

With [Composer](https://getcomposer.org/), to include this library into your dependencies, you need to require [`hoa/cli`](https://packagist.org/packages/hoa/cli):

```
$ composer require hoa/cli '~3.0'
```

For more installation procedures, please read [the Source page](https://hoa-project.net/Source.html).

Testing
-------

[](#testing)

Before running the test suites, the development dependencies must be installed:

```
$ composer install
```

Then, to run all the test suites:

```
$ vendor/bin/hoa test:run
```

For more information, please read the [contributor guide](https://hoa-project.net/Literature/Contributor/Guide.html).

Quick usage
-----------

[](#quick-usage)

Once installed, commands from libraries can be run with the following command line pattern:

```
$ hoa :
```

Running `hoa` with no argument will list all the available commands with a small description. Note: If the option `--no-verbose` is present, the list of commands will not be formatted. Thus, used in conjunction with [Zsh resources](https://central.hoa-project.net/Resource/Contributions/Zsh/Hoa), you will be able to auto-complete any commands from any libraries for free.

On every command, there is at least the `-h`, `--help` and `-?` options, providing helps and usages.

To provide a command from a library, create a class inside the `Bin/` directory. For instance, for a potential `Hoa\Foo` library, the `bar` command will be described by the `Hoa\Foo\Bin\Bar` class, located inside the `Foo/Bin/Bar.php`file.

Documentation
-------------

[](#documentation)

The [hack book of `Hoa\Cli`](https://central.hoa-project.net/Documentation/Library/Cli)contains detailed information about how to use this library and how it works.

To generate the documentation locally, execute the following commands:

```
$ composer require --dev hoa/devtools
$ vendor/bin/hoa devtools:documentation --open
```

More documentation can be found on the project's website: [hoa-project.net](https://hoa-project.net/).

Getting help
------------

[](#getting-help)

There are mainly two ways to get help:

- On the [`#hoaproject`](https://webchat.freenode.net/?channels=#hoaproject)IRC channel,
- On the forum at [users.hoa-project.net](https://users.hoa-project.net).

Contribution
------------

[](#contribution)

Do you want to contribute? Thanks! A detailed [contributor guide](https://hoa-project.net/Literature/Contributor/Guide.html) explains everything you need to know.

License
-------

[](#license)

Hoa is under the New BSD License (BSD-3-Clause). Please, see [`LICENSE`](https://hoa-project.net/LICENSE) for details.

###  Health Score

39

—

LowBetter than 86% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% 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 ~80 days

Recently: every ~120 days

Total

10

Last Release

3233d ago

Major Versions

1.15.09.03 → 2.16.01.112016-01-11

### Community

Maintainers

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

---

Top Contributors

[![Hywan](https://avatars.githubusercontent.com/u/946104?v=4)](https://github.com/Hywan "Hywan (41 commits)")[![Grummfy](https://avatars.githubusercontent.com/u/668804?v=4)](https://github.com/Grummfy "Grummfy (1 commits)")[![jubianchi](https://avatars.githubusercontent.com/u/327237?v=4)](https://github.com/jubianchi "jubianchi (1 commits)")[![vonglasow](https://avatars.githubusercontent.com/u/1275202?v=4)](https://github.com/vonglasow "vonglasow (1 commits)")

---

Tags

clihoalibraryphpcliconsolelibraryhoa

### Embed Badge

![Health badge](/badges/hoa-cli/health.svg)

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

###  Alternatives

[alecrabbit/php-console-spinner

Extremely flexible spinner for \[async\] php cli applications

24032.0k2](/packages/alecrabbit-php-console-spinner)[eddiriarte/console-select

A fancy selection interface for symfony's console component.

117.2k2](/packages/eddiriarte-console-select)[own3d/bunny-cli

Replicate and store your files to the edge!

209.7k](/packages/own3d-bunny-cli)

PHPackages © 2026

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