net_bazzline/zf_cli_generator

This package is abandoned and no longer maintained. No replacement package was suggested.

free as in freedom zend framework 2 cli generator module

0.0.13 2016-03-23 09:48 UTC

This package is auto-updated.

Last update: 2020-10-28 13:08:08 UTC


README

Since 2020-09-28, this repository is moved to "archived status". Contact me if you are interessted in it.

Command Line Generator Module for Zend Framework 2

This free as in freedom module should easy up the usage of the cli readline component in the zend framework 2 in a zend framework 2 application. It includes furthermore a command line controller to generate the needed configuration as well as to generate the command line script which enables autocompletion in your zend framework 2 console application.

The build status of the current master branch is tracked by Travis CI: Build Status Latest stable

The scrutinizer status are: code quality

The versioneye status is: dependencies

Downloads: Downloads this Month

It is also available at openhub.net.

Check out the demo environment if you want to see it in action.

The current change log can be found here.

Example

# generate configuration
php public/index.php net_bazzline cli_generator configuration

# generate cli script
php public/index.php net_bazzline cli_generator cli

Install

By Hand

mkdir -p vendor/net_bazzline/zf_cli_generator
@todo
cd vendor/net_bazzline/zf_cli_generator
git clone https://github.com/bazzline/zf_cli_generator

With Packagist

"net_bazzline/zf_cli_generator": "dev-master"

Usage

  • adapt your application.config.php and add “NetBazzlineZfCliGenerator” into the “modules” section
<?php
return array(
    'modules' => array(
        'Application',
        'NetBazzlineZfCliGenerator'
    ),
    //...
  • use zfcligenerator.global.php.dist as base
  • copy this file into your config/autoload directory
  • open this file and adapt it to your needs

API

API is available at bazzline.net.

Final Words

Star it if you like it :-). Add issues if you need it. Pull patches if you enjoy it. Write a blog entry if you use it. Donate something if you love it :-].