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 <[email protected]>"
Result:
<?php
/**
* @author Guilherme P. Nogueira <[email protected]>
*/
// 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.sh
Guilherme P. Nogueira