Tools that extend the functionality of the Phalcon frameworks CLI

v1.0.2 2016-01-06 08:00 UTC

This package is not auto-updated.

Last update: 2020-05-25 05:49:56 UTC


Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License

An expansion to the Phalcon Frameworks CLI Classes. This includes things like Questions, Confirmation, Command test class, Input/Output Streams and Application wrapper that allows you to start a CLI with minimal Effort.

Setting up your application

Setting up your CLI app is easy, heres a little example:

#!/usr/bin/env php

$app = new Danzabar\CLI\Application;

// Add your Tasks
$app->add(new MyTask);

try {

} catch(\Exception $e) {
	echo $e->getMessage();

Want to use your own DI instance? cool:

#!/usr/bin/env php

$di = new Phalcon\DI;
$app = new Danzabar\CLI\Application($di);

$app->add(new Task);


See the documentation below for more details, how to create task classes, setup argument and option variables and more...


Look to the source

The source code and tests contain a lot of usage practises and tricks for using this, so if you are unsure, take a look it might point you in the right direction!


If you want to contribute, great. Just fork this repo and make a pull request with changes.