Stable tag: 0.1.0
Requires at least: 5.9
Tested up to: 5.9
Requires PHP: 7.4
License: GPL v2 or later
Tags: vendor_name, plugin_name
Contributors: author_username
This is a skeleton Wordpress plugin that can scaffold a WordPress plugin. This
template includes a base plugin file, autoloaded PHP files, unit tests powered
by Mantle, and Continuous Integration via GitHub
Actions. Actions are configured to test the plugin and and
also build it for release. A main-built
branch and v0.1.0-built
tags will be
created with all dependencies included for use when submoduling a plugin.
Follow these steps to get started:
- Press the "Use template" button at the top of this repo to create a new repo with the contents of this skeleton.
- Run
make
(orphp ./configure.php
) to run a script that will replace all placeholders throughout all the files. - Have fun creating your plugin.
plugin_description
You can install the package via composer:
composer require alleyinteractive/create-wordpress-plugin
Activate the plugin in WordPress and use it like so:
$plugin = Vendor_Name\Skeleton\Example_Plugin();
$plugin->perform_magic();
composer test
Please see CHANGELOG for more information on what has changed recently.
The GNU General Public License (GPL) license. Please see License File for more information.