PHPackages                             volta-framework/component-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. volta-framework/component-cli

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

volta-framework/component-cli
=============================

Provide helpers for a simple CLI script

v0.9.0-beta(2y ago)0311MITPHPPHP &gt;=8.1

Since Jul 1Pushed 2y agoCompare

[ Source](https://github.com/volta-framework/component-cli)[ Packagist](https://packagist.org/packages/volta-framework/component-cli)[ Docs](https://github.com/volta-framework/component-cli)[ RSS](/packages/volta-framework-component-cli/feed)WikiDiscussions main Synced 1mo ago

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

Volta\\Component\\Cli
=====================

[](#voltacomponentcli)

Features
--------

[](#features)

- Static Helpers for simple PHP CLI scripts
- Methods for markup and formating output
- Wrapper for PHP [getopt()](https://www.php.net/manual/en/function.getopt.php)

Examples
--------

[](#examples)

- [`format`](examples/format.php)
- [`markup`](examples/markup.php)
- [`option`](examples/options.php)
- [`input`](examples/input.php)

To run the examples open a terminal and make the examples directory your current working directory.Then execute one of the example files passing the file to the PHP CLI executable. Optionally add the option -h(--help) to get information on the available options.

```
$: php format.php
```

```
$: php format.php --help
```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 Bus Factor1

Top contributor holds 95.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

Unknown

Total

1

Last Release

1052d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0726fbbdcd467b1e1ffc4c7934f712f3b8072e0032942119f0d205df502688c2?d=identicon)[Volta-Rob](/maintainers/Volta-Rob)

---

Top Contributors

[![Demper](https://avatars.githubusercontent.com/u/25136258?v=4)](https://github.com/Demper "Demper (20 commits)")[![DigibendeAMV](https://avatars.githubusercontent.com/u/71315343?v=4)](https://github.com/DigibendeAMV "DigibendeAMV (1 commits)")

---

Tags

phpcli

### Embed Badge

![Health badge](/badges/volta-framework-component-cli/health.svg)

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

###  Alternatives

[nunomaduro/termwind

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

2.5k239.8M286](/packages/nunomaduro-termwind)[nunomaduro/laravel-console-task

Laravel Console Task is a output method for your Laravel/Laravel Zero commands.

2582.1M11](/packages/nunomaduro-laravel-console-task)[mehrancodes/laravel-harbor

A CLI tool to Quickly create On-Demand preview environment for your apps.

9989.0k](/packages/mehrancodes-laravel-harbor)[php-school/learn-you-php

An introduction to PHP's core features: i/o, http, arrays, exceptions and so on.

3192.0k](/packages/php-school-learn-you-php)[alecrabbit/php-cli-snake

Lightweight cli spinner with zero dependencies

29211.3k5](/packages/alecrabbit-php-cli-snake)

PHPackages © 2026

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