Skip to content

Instantly share code, notes, and snippets.

@olavocneto
Created September 25, 2012 14:31
Show Gist options
  • Save olavocneto/3782282 to your computer and use it in GitHub Desktop.
Save olavocneto/3782282 to your computer and use it in GitHub Desktop.
command to create the folder structure of a module in zf2
cd project
cd module
mkdir -pv NameOfModule/{config,src/NameOfModule/{Controller,Form,Model},view/nameOfModule}
or
mkdir -pv NameOfModule/{config,src/NameOfModule/{Controller,Form,Entity,Mapper,Service},view/nameOfModule}
@olavocneto
Copy link
Author

mkdir -pv NameOfModule/{config,src/NameOfModule/{Controller,Form,Entity,Mapper},view/nameOfModule}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment