PHPackages                             rogerthomas84/ohconsole - 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. rogerthomas84/ohconsole

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

rogerthomas84/ohconsole
=======================

OhConsole PHP CLI

3.0.0(6y ago)01.3kMITPHPPHP &gt;=5.4.0

Since Dec 12Pushed 6y ago1 watchersCompare

[ Source](https://github.com/rogerthomas84/ohconsole)[ Packagist](https://packagist.org/packages/rogerthomas84/ohconsole)[ Docs](https://github.com/rogerthomas84/ohconsole)[ RSS](/packages/rogerthomas84-ohconsole/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (4)DependenciesVersions (10)Used By (0)

[View on Packagist](https://packagist.org/packages/rogerthomas84/ohconsole)

OhConsole
=========

[](#ohconsole)

OhConsole is a simple interface to create advanced PHP CLI applications by abstracting the commands into separated classes.

Theory
------

[](#theory)

Arguments are converted to namespaces. The final route class must be named `Route`;

For example, the command `config get url` would look for a class of `Config\Get\UrlRoute`

Quick Start
-----------

[](#quick-start)

To get started in a hurry, first create your core command file. Generally this could be `bin/console`. This file should contain something like this:

```
