PHPackages                             nanjingboy/commander - 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. nanjingboy/commander

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

nanjingboy/commander
====================

Command line interfaces make easy to build command line application

v0.1.0(11y ago)01562MITPHPPHP &gt;=5.4.0

Since Oct 28Pushed 11y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (2)Used By (2)

### Commander:

[](#commander)

Commander is command line interfaces wraps [symfony/Console](https://github.com/symfony/Console), it makes easy to build command line application because developers don't have to create any command class files.

### Getting Started:

[](#getting-started)

- Create composer.json file in root directory of your application:

```
 {
    "require": {
        "php": ">=5.4.0",
        "nanjingboy/commander": "*"
    }
}
```

- Install it via [composer](https://getcomposer.org/doc/00-intro.md)

### Usage Example:

[](#usage-example)

```
