fastd / console
FastD console component
Installs: 2 013
Dependents: 2
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: >=7.0
- fastd/debug: ~2.0@beta
- symfony/finder: ~3.0
Requires (Dev)
- phpunit/phpunit: 5.0
This package is auto-updated.
Last update: 2024-11-13 14:05:36 UTC
README
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