WordPress Plugin Skeleton

A simple starting point for developing WordPress plugins

By Adriano Ferreira

Starting a new plugin can be a hassle! Many default files to define, configuration files, folders, etc. Doing that repeatedly can be even worse. Knowing that and also by the fact that a great part of our subscribers are WordPress developers, we’ve decided to release a simple WordPress Skeleton Plugin as open-source to help you when building new WordPress plugins.

 

What comes in:

 

  • File structure based on WordPress.org recommendations
  • Composer configured
  • PHPUnit settings defined
  • Twig added and a Loader class for it
  • Travis settings defined
  • A hook class sample
  • Make commands for building, testing and developing
 

It is available in both GitHub and Composer Packagist.

Installation

It’s recommended that you use Composer to install this library.

 

  • Create an empty folder inside of “wp-content/plugins” and name it as your plugin name
  • Enter inside of it through terminal and run the command:

$ composer create-project adrianoferreira/wp-plugin-skeleton:dev-master

Join our 322,204 newsletter subscribers and get the latest news and articles sent straight to your inbox weekly


Rest Routes 5.5.0

Rest Routes 5.5.0 Insert custom URL parameters values on your Custom SQL Query endpoint type and much more… PRO PRICING By Adriano Ferreira New Custom

Read More »

Rest Routes 5.3.0

Rest Routes 5.3.0 Now you are able to perform authenticated requests through Basic Authentication. PRO PRICING By Adriano Ferreira Basic Authentication is not available!  

Read More »

Rest Routes 5.0

Rest Routes 5.0 Write Custom SQL Queries and make HTTP requests PRO PRICING By Adriano Ferreira We are pleased to announce the 5.0 release of

Read More »