PHPackages                             khalyomede/command-parser - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. khalyomede/command-parser

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

khalyomede/command-parser
=========================

Parse arguments, options and flags.

v0.2.0(7y ago)16[1 issues](https://github.com/khalyomede/command-parser/issues)MITPHPPHP &gt;=7.2.0

Since Nov 4Pushed 7y ago1 watchersCompare

[ Source](https://github.com/khalyomede/command-parser)[ Packagist](https://packagist.org/packages/khalyomede/command-parser)[ RSS](/packages/khalyomede-command-parser/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (1)Versions (3)Used By (0)

Command Parser
==============

[](#command-parser)

Parse arguments, options and flags.

[![PHP from Packagist](https://camo.githubusercontent.com/fb15e889bd68d8283f99b4e7f9ef73df0631645940043b9ea2b1dfc774a92460/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b68616c796f6d6564652f636f6d6d616e642d7061727365722e737667)](https://camo.githubusercontent.com/fb15e889bd68d8283f99b4e7f9ef73df0631645940043b9ea2b1dfc774a92460/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6b68616c796f6d6564652f636f6d6d616e642d7061727365722e737667) [![Packagist](https://camo.githubusercontent.com/75a442473c00bf498fb4261d9e1e4f137bb636ec800156909e09ccc239ff59ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b68616c796f6d6564652f636f6d6d616e642d7061727365722e737667)](https://camo.githubusercontent.com/75a442473c00bf498fb4261d9e1e4f137bb636ec800156909e09ccc239ff59ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6b68616c796f6d6564652f636f6d6d616e642d7061727365722e737667) [![Codeship](https://camo.githubusercontent.com/c02afc1903f97d2680efc035339398750d6c95e8c452f13d12140afc031e0131/68747470733a2f2f696d672e736869656c64732e696f2f636f6465736869702f62326334396332302d633239642d303133362d313662312d3032656161623633303231302e737667)](https://camo.githubusercontent.com/c02afc1903f97d2680efc035339398750d6c95e8c452f13d12140afc031e0131/68747470733a2f2f696d672e736869656c64732e696f2f636f6465736869702f62326334396332302d633239642d303133362d313662312d3032656161623633303231302e737667) [![Packagist](https://camo.githubusercontent.com/0e51bdb473789742783f81c8e360afc27a4526733eefbf96ea75da03fb253bae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b68616c796f6d6564652f636f6d6d616e642d7061727365722e737667)](https://camo.githubusercontent.com/0e51bdb473789742783f81c8e360afc27a4526733eefbf96ea75da03fb253bae/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6b68616c796f6d6564652f636f6d6d616e642d7061727365722e737667)

```
readfile composer.json --max-length 12 --quiet
```

```
[
  "arguments" => [
    "path" => "composer.json"
  ],
  "options" => [
    "max-length" => "12"
  ],
  "flags" => [
    "quiet" => true
  ]
]
```

Summary
-------

[](#summary)

- [Installation](#installation)
- [Examples](#examples)

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

[](#installation)

In the prompt command:

```
composer require khalyomede/command-parser:0.*
```

Examples
--------

[](#examples)

*work in progress*

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

2

Last Release

2746d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/15908747?v=4)[Anwar](/maintainers/khalyomede)[@khalyomede](https://github.com/khalyomede)

---

Top Contributors

[![khalyomede](https://avatars.githubusercontent.com/u/15908747?v=4)](https://github.com/khalyomede "khalyomede (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/khalyomede-command-parser/health.svg)

```
[![Health](https://phpackages.com/badges/khalyomede-command-parser/health.svg)](https://phpackages.com/packages/khalyomede-command-parser)
```

PHPackages © 2026

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