2017 © Pedro Peláez
 

library phalcon-cli

Tools that extend the functionality of the Phalcon frameworks CLI

image

danzabar/phalcon-cli

Tools that extend the functionality of the Phalcon frameworks CLI

  • Thursday, January 14, 2016
  • by Danzabar
  • Repository
  • 5 Watchers
  • 20 Stars
  • 13,425 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 8 Forks
  • 1 Open issues
  • 7 Versions
  • 10 % Grown

The README.md

CLI Tools for the Phalcon Framework

Build Status Coverage Status Latest Stable Version Total Downloads Latest Unstable Version License, (*1)

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

Setting up your application

Setting up your CLI app is easy, heres a little example:, (*3)

#!/usr/bin/env php
<?php 

$app = new Danzabar\CLI\Application;

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

try {

    $app->start($argv);

} catch(\Exception $e) {

    echo $e->getMessage();
    exit(255);
}

Want to use your own DI instance? cool:, (*4)

#!/usr/bin/env php
<?php 

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

$app->add(new Task);

$app->start($argv);

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

Documentation

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

Contributing

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

The Versions

27/01 2015

v1.0.0

1.0.0.0

Tools that extend the functionality of the Phalcon frameworks CLI

  Sources   Download

MIT

The Requires

 

The Development Requires

27/12 2014

v0.2.2

0.2.2.0

Tools that extend the functionality of the Phalcon frameworks CLI

  Sources   Download

MIT

The Requires

 

The Development Requires

27/11 2014

0.1

0.1.0.0

Tools that extend the functionality of the Phalcon frameworks CLI

  Sources   Download

MIT

The Development Requires