I assume you are using Windows as development OS, so
download zftool and put it on C:/.
Open the console and cd to C:/ then you an try the follow
1) create a zf2 project
zftool.phar create project path/to/project
2) create a new Module
zftool.phar create module ModuleName path/to/my/applicationRoot
3) create a new controller
zftool.phar create controller ControllerName ModuleName path/to/my/applicationRoot
You can discover by yourself all th other functionality just running only zftool.phar on console.
Cheers
7
solved How to create new controller in zend framework [closed]