Download the PHP package mindsize/wp-plugin-base without Composer
On this page you can find all versions of the php package mindsize/wp-plugin-base. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download mindsize/wp-plugin-base
More information about mindsize/wp-plugin-base
Files in mindsize/wp-plugin-base
Package wp-plugin-base
Short Description This is a sample plugin that was created with mindsize/wp-plugin-base.
License GPL-2.0
Informations about the package wp-plugin-base
Mindsize WordPress Plugin Base
A great way to spin up new WP plugins with composer.
About this plugin base
Included Packages
Need | Solution |
---|---|
Template Loader | gamajo/template-loader |
Recomended Packages
Need | Solution |
---|---|
CPT/Taxonomy Registration | johnbillion/extended-cpts |
How to create your plugin from this base with Composer
From the terminal just run the following command.
Find/Replace WP Plugin Base to your plugin name
Find | Replace | Why |
---|---|---|
Mindsize\WP_Plugin_Base |
Mindsize\Your_Plugin |
Update the plugin namespace. |
WP_PLUGIN_BASE_ |
YOUR_PLUGIN_ |
Update the plugin constants. |
wp_plugin_base |
your_plugin |
Update the plugin wrapper function. |
Installation
At Mindsize we believe in composer driven projects, and most of our plugins require an autoloaded generated by Composer. This means installation of our plugins may an extra step to generate this autoloader.
Composer Powered WordPress
If your WordPress website is powered by composer and already is loading the vendor autoload file, just require the plugin by running the command below from your terminal.
composer require mindsize/wp-plugin-base
From GitHub
After cloning this repository, run composer install
in the root directory of the plugin. If you are using git based deployments, make sure the vendor directory is no longer ignored.
From Packaged Releases on WordPress.org
Packaged releases on WordPress.org will automatically include the required autoloaders.
All versions of wp-plugin-base with dependencies
xrstf/composer-php52 Version ^1.0
gamajo/template-loader Version ^1.3