2017 © Pedro Peláez
 

wordpress-plugin wp-plugin-boilerplate

An object-oriented boilerplate for developing high-quality, testable WordPress plugins

image

regularjack/wp-plugin-boilerplate

An object-oriented boilerplate for developing high-quality, testable WordPress plugins

  • Saturday, November 19, 2016
  • by regularjack
  • Repository
  • 1 Watchers
  • 8 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

WP Plugin Boilerplate

An object-oriented boilerplate for developing high-quality, testable WordPress plugins., (*1)

Build Status PHP 5.3+, (*2)

This is an experiment. You probably don't want to use it yet., (*3)

Features

  • Autoload PHP classes
    • Use PHP namespaces
    • No more need to include every plugin file
  • Unit Testing
    • Testing with PHPunit works out of the box
    • Just write your test class and run phpunit
    • Ready for travis
  • Integration with WP-CLI
  • And more:
    • Admin settings screen

Installation

Install directly into the plugins folder of a WordPress installation and then rename from wp-plugin-boilerplate to whatever you want your plugin to be named (the following commands assume your plugin will be named wp-foo):, (*4)

cd wp-content/plugins
git clone git@github.com:regularjack/wp-plugin-boilerplate.git wp-foo
cd wp-plugin-boilerplate
mv languages/wp-plugin-boilerplate.pot languages/wp-foo.pot
find . -type f -exec sed -i 's/WP Plugin Boilerplate/WP Foo/g' {} +
find . -type f -exec sed -i 's/WpPluginBoilerplate/WpFoo/g' {} +
find . -type f -exec sed -i 's/wp-plugin-boilerplate/wp-foo/g' {} +
rm -rf README.md .git

Ack

The Versions

19/11 2016

dev-installer

dev-installer https://github.com/regularjack/wp-plugin-boilerplate

An object-oriented boilerplate for developing high-quality, testable WordPress plugins

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3

 

The Development Requires

by Paulo Rodrigues Pinto

19/11 2016

dev-master

9999999-dev https://github.com/regularjack/wp-plugin-boilerplate

An object-oriented boilerplate for developing high-quality, testable WordPress plugins

  Sources   Download

GPL-2.0+

The Requires

  • php >=5.3

 

The Development Requires

by Paulo Rodrigues Pinto