A simple script written in Bash to create module and controller, following Zend FRamework 2 Structure.
You should change file DefineAuthorFile and modify the string author. e.g:
DefineAuthorFile
#!/bin/bash
export author="@author Guilherme P. Nogueira <guilhermenogueira90@gmail.com>"Result:
<?php
/**
* @author Guilherme P. Nogueira <guilhermenogueira90@gmail.com>
*/
// source code...- Module: Full module (directory structure, default files, Controller with Factory pattern
- Controller: Create Controller with Factory pattern
- Controller Plugin: Create the plugin to usage inside controllers
$ ./run.shGuilherme P. Nogueira