mindsize / wp-plugin-base
This is a sample plugin that was created with mindsize/wp-plugin-base.
Installs: 77
Dependents: 0
Suggesters: 0
Security: 0
Stars: 8
Watchers: 2
Forks: 0
Open Issues: 4
Type:wordpress-plugin
Requires
- composer/installers: ^1.4
- gamajo/template-loader: ^1.3
- xrstf/composer-php52: ^1.0
This package is auto-updated.
Last update: 2024-11-19 08:51:23 UTC
README
A great way to spin up new WP plugins with composer.
About this plugin base
Included Packages
Recomended Packages
How to create your plugin from this base with Composer
From the terminal just run the following command.
composer create-project mindsize/wp-plugin-base my-new-plugin
Find/Replace WP Plugin Base to your plugin name
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.