2017 © Pedro Peláez
 

library raw-console

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

image

rawphp/raw-console

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

  • Tuesday, December 30, 2014
  • by rawphp
  • Repository
  • 1 Watchers
  • 0 Stars
  • 188 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

RawConsole - A Simple Console for PHP Applications

Build Status, (*1)

Latest Stable Version Total Downloads Latest Unstable Version License, (*2)

Package Features

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

Installation

Composer

RawConsole is available via Composer/Packagist., (*3)

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

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

You can also simply run the following from the command line:, (*5)

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

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., (*6)

Usage

See 'tests/_support' directory for example commands., (*7)

The test bootstrap file shows an example of how to run the Console., (*8)

License

This package is licensed under the MIT. Read LICENSE for information on the software availability and distribution., (*9)

Contributing

Please submit bug reports, suggestions and pull requests to the GitHub issue tracker., (*10)

Changelog

22-09-2014

  • Updated to PHP 5.3.

21-09-2014

  • Command requires initialisation by calling init( ) when constructing.

20-09-2014

  • Replaced php array configuration with yaml

18-09-2014

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

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

  • Initial Code Commit

The Versions

30/12 2014

dev-master

9999999-dev http://rawphp.org

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

  Sources   Download

MIT

The Requires

  • php >=5.4.0

 

The Development Requires

by Tom Kaczocha

console