Plugin Builder - markhowellsmead/helpers GitHub Wiki

Collaborators in the WordPress Switzerland community have made a shell script, with which you can kick-start a plugin on the basis of PHP namespaces. The bootstrap code is here and the plugin builder script is here.

Allowing global access

Place a copy of the .sh file in /usr/local/bin and make it executable.

cp build-wordpress-plugin.sh /usr/local/bin/build-wordpress-plugin
chmod +x /usr/local/bin/build-wordpress-plugin

Then use build-wordpress-plugin from the plugin directory of your project.