free as in freedom free software zend framework 2 cli genertor module
PHP
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
config
src/NetBazzlineZfCliGenerator
test
.gitignore
.scrutinizer.yml
.travis.yml
CHANGELOG.md
LICENSE
Module.php
README.md
autoload_classmap.php
autoload_function.php
autoload_register.php
composer.json
phpunit.xml.dist

README.md

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 :-].