PHPackages                             pangodream/php-simpcli - 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. pangodream/php-simpcli

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

pangodream/php-simpcli
======================

A simple PHP cli arguments parser

117PHP

Since Nov 3Pushed 7y agoCompare

[ Source](https://github.com/pangodream/php-simpcli)[ Packagist](https://packagist.org/packages/pangodream/php-simpcli)[ RSS](/packages/pangodream-php-simpcli/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-simpcli
===========

[](#php-simpcli)

A simple PHP cli arguments parser

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

[](#installation)

```
composer require pangodream/php-simpcli

```

Usage:
------

[](#usage)

```
require_once __DIR__.'/../vendor/autoload.php';

use PhpSimpcli\CliParser;

$sp = new CliParser();

var_dump($sp->get('myOption'));
```

From the cli console:

```
php test.php -otherOption

["found"] => bool(false)
["value"] => NULL
["type"]  => NULL

php test.php -myOption

["found"] => bool(true)
["value"] => NULL
["type"]  => "missing"

php test.php -myOption Hello

["found"] => bool(true)
["value"] => "Hello"
["type"]  => "single"

php test.php -myOption Hello World

["found"] => bool(true)
["value"] => array([0] => "Hello, [1] => "World")
["type"]  => multi

php test.php -myOption Hello "Wonderful World"

["found"] => bool(true)
["value"] => array([0] => "Hello, [1] => "Wonderful World")
["type"]  => multi

```

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity40

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/44610297?v=4)[Pangodream](/maintainers/pangodream)[@pangodream](https://github.com/pangodream)

---

Top Contributors

[![pangodream](https://avatars.githubusercontent.com/u/44610297?v=4)](https://github.com/pangodream "pangodream (2 commits)")

### Embed Badge

![Health badge](/badges/pangodream-php-simpcli/health.svg)

```
[![Health](https://phpackages.com/badges/pangodream-php-simpcli/health.svg)](https://phpackages.com/packages/pangodream-php-simpcli)
```

###  Alternatives

[illuminate/console

The Illuminate Console package.

13046.0M6.4k](/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)

PHPackages © 2026

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