PHPackages                             rawphp/raw-console - 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. rawphp/raw-console

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

rawphp/raw-console
==================

RawConsole is a simple console package used by RawPHP framework and other applications.

0188PHP

Since Dec 29Pushed 11y ago1 watchersCompare

[ Source](https://github.com/rawphp/RawConsole)[ Packagist](https://packagist.org/packages/rawphp/raw-console)[ RSS](/packages/rawphp-raw-console/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (1)Used By (0)

RawConsole - A Simple Console for PHP Applications
==================================================

[](#rawconsole---a-simple-console-for-php-applications)

[![Build Status](https://camo.githubusercontent.com/bbded3497e4f3ea26b0ff4e6b24cca9609c655bfd7946805b12bd53a85970f16/68747470733a2f2f7472617669732d63692e6f72672f7261777068702f526177436f6e736f6c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/rawphp/RawConsole)

[![Latest Stable Version](https://camo.githubusercontent.com/25c0ea0b2cc663efcc09307f16ab035c4773cba337c7315182faf8909015b7c8/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d636f6e736f6c652f762f737461626c652e737667)](https://packagist.org/packages/rawphp/raw-console) [![Total Downloads](https://camo.githubusercontent.com/2ccae05f297d2ce2729eb4f3d29010957781eeeab7bc8cc0788a98e7845a73b4/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d636f6e736f6c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/rawphp/raw-console)[![Latest Unstable Version](https://camo.githubusercontent.com/b0ca79bce3cf430513456517e2dca7b7dd8cacbb9f9e74077882f2a4cbd6c864/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d636f6e736f6c652f762f756e737461626c652e737667)](https://packagist.org/packages/rawphp/raw-console) [![License](https://camo.githubusercontent.com/bb0d8235f5cc8300b0d599834c68801ae79c093b675afeb271219ce39aa0c9ac/68747470733a2f2f706f7365722e707567782e6f72672f7261777068702f7261772d636f6e736f6c652f6c6963656e73652e737667)](https://packagist.org/packages/rawphp/raw-console)

Package Features
----------------

[](#package-features)

- Define custom commands
- Easily run commands from the command line

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

[](#installation)

### Composer

[](#composer)

RawConsole is available via [Composer/Packagist](https://packagist.org/packages/rawphp/raw-console).

Add `"rawphp/raw-console": "0.*@dev"` to the require block in your composer.json and then run `composer install`.

```
{
        "require": {
            "rawphp/raw-console": "0.*@dev"
        }
}
```

You can also simply run the following from the command line:

```
composer require rawphp/raw-console "0.*@dev"
```

### Tarball

[](#tarball)

Alternatively, just copy the contents of the RawConsole folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Usage
-----

[](#usage)

See 'tests/\_support' directory for example commands.

The test bootstrap file shows an example of how to run the Console.

License
-------

[](#license)

This package is licensed under the [MIT](https://github.com/rawphp/RawConsole/blob/master/LICENSE). Read LICENSE for information on the software availability and distribution.

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

[](#contributing)

Please submit bug reports, suggestions and pull requests to the [GitHub issue tracker](https://github.com/rawphp/RawSession/issues).

Changelog
---------

[](#changelog)

#### 22-09-2014

[](#22-09-2014)

- Updated to PHP 5.3.

#### 21-09-2014

[](#21-09-2014)

- Command requires initialisation by calling `init( )` when constructing.

#### 20-09-2014

[](#20-09-2014)

- Replaced php array configuration with yaml

#### 18-09-2014

[](#18-09-2014)

- Updated to work with the latest rawphp/rawbase package.

#### 16-09-2014

[](#16-09-2014)

- Added new support properties to base Command class.
- Added new `init( )` method which adds the help and verbose options to the command options list.
- Added new StandardHelpWriter class for writing command help output. ( Not yet connected with the console ).

#### 15-09-2014

[](#15-09-2014)

- Initial Code Commit

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/c66ee84d4063a7665c742b3965fc359e1908d02ecb93c54af32c7594d0b2f748?d=identicon)[rawphp](/maintainers/rawphp)

### Embed Badge

![Health badge](/badges/rawphp-raw-console/health.svg)

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

###  Alternatives

[wp-cli/wp-cli

WP-CLI framework

5.0k17.2M320](/packages/wp-cli-wp-cli)[consolidation/annotated-command

Initialize Symfony Console commands from annotated command class methods.

22569.8M19](/packages/consolidation-annotated-command)[chi-teck/drupal-code-generator

Drupal code generator

26947.8M5](/packages/chi-teck-drupal-code-generator)[seld/cli-prompt

Allows you to prompt for user input on the command line, and optionally hide the characters they type

24725.8M17](/packages/seld-cli-prompt)[illuminate/console

The Illuminate Console package.

12944.1M5.1k](/packages/illuminate-console)[php-tui/php-tui

Comprehensive TUI library heavily influenced by Ratatui

589747.0k6](/packages/php-tui-php-tui)

PHPackages © 2026

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