Skip to content

Latest commit

 

History

History
executable file
·
40 lines (25 loc) · 1 KB

File metadata and controls

executable file
·
40 lines (25 loc) · 1 KB

Console

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