fastd/console

FastD console component

v2.0.2 2016-07-16 03:41 UTC

README

Building Latest Stable Version Total Downloads Latest Unstable Version License

PHP CLI Application.

Requirements

  • PHP >= 5.6

Installation

composer require "fastd/console:3.0.x-dev" -vvv

Usage

use FastD\Console\Console;

include_once __DIR__ . '/tests/OutputHelloCommand.php';
include_once __DIR__ . '/tests/OutputWorldCommand.php';

$console = new Console();

$console->addCommand(new OutputWorldCommand());
$console->addCommand(new OutputHelloCommand());

$console->run();

phpunit

License MIT