PHPackages                             kornrunner/console\_commandline - 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. kornrunner/console\_commandline

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

kornrunner/console\_commandline
===============================

A full featured command line options and arguments parser.

v1.2.5(3y ago)017MITPHPPHP &gt;=5.3.0

Since Dec 10Pushed 3y agoCompare

[ Source](https://github.com/kornrunner/Console_CommandLine)[ Packagist](https://packagist.org/packages/kornrunner/console_commandline)[ Docs](https://github.com/kornrunner/Console_CommandLine)[ RSS](/packages/kornrunner-console-commandline/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (2)Versions (6)Used By (0)

Console\_CommandLine
====================

[](#console_commandline)

A full featured command line options and arguments parser.

`Console_CommandLine` is a full featured package for managing command-line options and arguments highly inspired from python `optparse` module, it allows the developer to easily build complex command line interfaces.

Main features
-------------

[](#main-features)

- handles sub commands (ie. `$ myscript.php -q subcommand -f file`),
- can be completely built from an XML definition file,
- generate `--help` and `--version` options automatically,
- can be completely customized,
- builtin support for i18n,
- and much more...

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

[](#installation)

### PEAR

[](#pear)

```
$ pear install Console_CommandLine
```

### Composer

[](#composer)

```
$ composer require pear/console_commandline
```

Links
-----

[](#links)

Homepage[http://pear.php.net/package/Console\_CommandLine](http://pear.php.net/package/Console_CommandLine)Bug tracker[http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=Console\_CommandLine](http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Console_CommandLine)DocumentationUnit test status[https://travis-ci.org/pear/Console\_CommandLine](https://travis-ci.org/pear/Console_CommandLine)

[![https://travis-ci.org/pear/Console_CommandLine.svg?branch=stable](https://camo.githubusercontent.com/5149ed6ac84475e827f6dfe089119f9d40c29ba38c5bf92791007e6285f8bd18/68747470733a2f2f7472617669732d63692e6f72672f706561722f436f6e736f6c655f436f6d6d616e644c696e652e7376673f6272616e63683d737461626c65)](https://travis-ci.org/pear/Console_CommandLine)Packagist[https://packagist.org/packages/pear/console\_commandline](https://packagist.org/packages/pear/console_commandline)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 77.4% 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 ~605 days

Total

5

Last Release

1389d ago

PHP version history (2 changes)v1.2.1PHP &gt;=5.1.0

v1.2.2PHP &gt;=5.3.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/725986?v=4)[Boris Momčilović](/maintainers/kornrunner)[@kornrunner](https://github.com/kornrunner)

---

Top Contributors

[![izimobil](https://avatars.githubusercontent.com/u/40856?v=4)](https://github.com/izimobil "izimobil (113 commits)")[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (10 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (6 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")[![Pawka](https://avatars.githubusercontent.com/u/2011?v=4)](https://github.com/Pawka "Pawka (3 commits)")[![kornrunner](https://avatars.githubusercontent.com/u/725986?v=4)](https://github.com/kornrunner "kornrunner (2 commits)")[![remicollet](https://avatars.githubusercontent.com/u/270445?v=4)](https://github.com/remicollet "remicollet (2 commits)")[![W0rma](https://avatars.githubusercontent.com/u/20659830?v=4)](https://github.com/W0rma "W0rma (2 commits)")[![kenguest](https://avatars.githubusercontent.com/u/234118?v=4)](https://github.com/kenguest "kenguest (1 commits)")[![GregOriol](https://avatars.githubusercontent.com/u/3975044?v=4)](https://github.com/GregOriol "GregOriol (1 commits)")[![janpolsen](https://avatars.githubusercontent.com/u/192168?v=4)](https://github.com/janpolsen "janpolsen (1 commits)")[![alecpl](https://avatars.githubusercontent.com/u/546788?v=4)](https://github.com/alecpl "alecpl (1 commits)")[![llaville](https://avatars.githubusercontent.com/u/364342?v=4)](https://github.com/llaville "llaville (1 commits)")

---

Tags

console

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/kornrunner-console-commandline/health.svg)

```
[![Health](https://phpackages.com/badges/kornrunner-console-commandline/health.svg)](https://phpackages.com/packages/kornrunner-console-commandline)
```

###  Alternatives

[symfony/console

Eases the creation of beautiful and testable command line interfaces

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

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[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/php-cli-tools

Console utilities for PHP

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

PHPackages © 2026

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