Sideproject

WordPress Plugin Boilerplate Generator

November 16, 2014

As a WordPress Developer, I’ve been using the amazing Tom McFarlin‘s WPPB foundation plugin as my started plugin.

Every time I start working on a new plugin I find myself renaming files names, searching and replacing ‘plugin-name’, ‘Plugin_Name’ the packages and sub-packages names, etc. These tasks take me around 5 minutes every time, and I don’t like repeating unnecessary tasks.

I search for some generator online, but I could not find anything, so, I created my own solution, the WordPress Plugin Boilerplate Generator aka wppb.me inspired in the underscores.me site and powered by nodejs for a change.

This generator asks you for six parameters, replaces all the occurrences in the original WPPB Plugin code, and generates a new zip file with the new code ready to use.

This is the first generator version, so if you think it needs any other improvement, please open an issue in the GitHub page or better yet fork the repo and make a pull request.

Remember you can use the WordPress Plugin Boilerplate Generator at http://wppb.me.

With nothing else to say, enjoy and please spread the word.

Enrique

Written by Tmeister

Enrique Chavez is a full-stack developer with almost 20 years of experience in the industry. he is an extremely versatile developer working on a plethora of projects, from startups to established companies.

Are you ready to take the plunge? Drop me a line, and let’s chat about your idea!