PHPackages                             lunr/cliparser - 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. lunr/cliparser

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

lunr/cliparser
==============

Lunr.CliParser is a library for parsing command line arguments.

0.11.1(11mo ago)03.0k41MITPHPPHP &gt;=8.1CI passing

Since Sep 18Pushed 2mo ago4 watchersCompare

[ Source](https://github.com/lunr-php/lunr.cliparser)[ Packagist](https://packagist.org/packages/lunr/cliparser)[ Docs](https://github.com/lunr-php/lunr.cliparser)[ RSS](/packages/lunr-cliparser/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (2)Versions (12)Used By (1)

Lunr.CliParser
==============

[](#lunrcliparser)

Lunr.CliParser is a set of command line argument parsers. It includes one parser for `getopt` like cli arguments, and one custom parser that supports multiple parameters per argument.

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

[](#installation)

- Install Lunr.CliParser with Composer or with your own installer.
- Lunr.CliParser follows the [semantic versioning](https://semver.org) standards.

Community
---------

[](#community)

- Follow us on [GitHub](https://github.com/lunr-php/lunr.cliparser).

Contributing
------------

[](#contributing)

Lunr.CliParser is an Open Source, community-driven project. Join by contributing code or documentation.

If you encounter any issues when using Lunr.CliParser you can report them [on github](https://github.com/lunr-php/lunr.cliparser/issues)

About Us
--------

[](#about-us)

Lunr development is spearheaded by [Move](https://moveagency.com).

###  Health Score

42

—

FairBetter than 90% of packages

Maintenance70

Regular maintenance activity

Popularity24

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.6% 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 ~105 days

Recently: every ~66 days

Total

7

Last Release

339d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2d947cb57fe64548b6f9eda414f1add9b39e62200c6f509af20db0119bb8b245?d=identicon)[pprkut](/maintainers/pprkut)

---

Top Contributors

[![pprkut](https://avatars.githubusercontent.com/u/56635?v=4)](https://github.com/pprkut "pprkut (185 commits)")[![SMillerDev](https://avatars.githubusercontent.com/u/1484494?v=4)](https://github.com/SMillerDev "SMillerDev (27 commits)")[![m2andrea](https://avatars.githubusercontent.com/u/14904281?v=4)](https://github.com/m2andrea "m2andrea (2 commits)")[![DavidCova](https://avatars.githubusercontent.com/u/17008531?v=4)](https://github.com/DavidCova "DavidCova (1 commits)")[![tardypad](https://avatars.githubusercontent.com/u/6368493?v=4)](https://github.com/tardypad "tardypad (1 commits)")

---

Tags

lunrone-flowossphpcligetopt

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lunr-cliparser/health.svg)

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

###  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)[nunomaduro/termwind

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

2.5k239.8M286](/packages/nunomaduro-termwind)[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[wp-cli/php-cli-tools

Console utilities for PHP

68325.0M367](/packages/wp-cli-php-cli-tools)[splitbrain/php-cli

Easy command line scripts for PHP with opt parsing and color output. No dependencies

177817.2k28](/packages/splitbrain-php-cli)

PHPackages © 2026

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