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

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

tecsiaron/cli-app
=================

PHP library for building 1 file - 1 command CLI apps

0.1.0-alpha(3mo ago)112↓50%MITPHPPHP &gt;=8.2

Since Jan 23Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/TecsiAron/cli-app)[ Packagist](https://packagist.org/packages/tecsiaron/cli-app)[ RSS](/packages/tecsiaron-cli-app/feed)WikiDiscussions main Synced 1mo ago

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

CLIApp
------

[](#cliapp)

Used to create 1 file - 1 command cli apps/utils. Install:

```
composer require tecsiaron/cli-app

```

**NOTES**:

- Requires PHP 8.2+
- Currently still exerimental/possibly unstable. Usage:

```
$option1 = new CLIOption("testBoolean", "tb", "Test boolean", CLIOptionType::BOOLEAN, false);
$option2 = new CLIOption("testNumber", "tn", "Test number", CLIOptionType::NUMBER, true);
$option3 = new CLIOption("testString", "ts", "Test string", CLIOptionType::STRING, true);
$option4 = new CLIOption("testArray", "ta", "Test array", CLIOptionType::ARRAY, true);
$option5 = new CLIOption("testEnum", "te", "Test string", CLIOptionType::ENUM, true, CLIExceptionCodes::cases());
$options=[$option1,$option2,$option3,$option4,$option5];
$app = new CLIApp("Tester", "Test CLI App", "1.0.0", $options);
$app->Parse();
var_dump($app->GetAllOptions());
```

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance79

Regular maintenance activity

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity32

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

115d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/206812dc0b9d21437229038a3544110adf650818a3866ac3bd20a26dd55626a4?d=identicon)[TecsiAron](/maintainers/TecsiAron)

---

Top Contributors

[![TecsiAron](https://avatars.githubusercontent.com/u/4922350?v=4)](https://github.com/TecsiAron "TecsiAron (3 commits)")

---

Tags

clicommand-lineoptionsarguments

### Embed Badge

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

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

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

9.8k1.1B11.3k](/packages/symfony-console)[nunomaduro/collision

Cli error handling for console/command-line PHP applications.

4.6k331.8M8.5k](/packages/nunomaduro-collision)[nategood/commando

PHP CLI Commando Style

8123.3M38](/packages/nategood-commando)[aura/cli

Provides the equivalent of request (Context) and response (Stdio) classes for a command line environment, including Getopt support.

1051.6M29](/packages/aura-cli)[minicli/minicli

Experimental micro CLI framework for PHP

1.1k382.5k47](/packages/minicli-minicli)[nunomaduro/laravel-console-menu

Laravel Console Menu is an output method for your Laravel/Laravel Zero commands.

815412.0k48](/packages/nunomaduro-laravel-console-menu)

PHPackages © 2026

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