Install
This is the repository archive. It installs, but the folder name will carry the branch suffix and updates will not flow.
Install straight from GitHub with WP-CLI:
wp plugin install https://github.com/piotrpress/wordpress-plugin-template/archive/refs/heads/master.zipUpdates itself. It ships its own updater (Update URI header), so new versions appear under Dashboard → Updates.
WordPress Plugin Template
This Composer project is a template for creating a WordPress plugins. It includes a basic structure and uses Composer Setuper to interactively walk you through the process of setting up your new plugin project.
Usage
To create a new WordPress plugin project, go to wp-content/plugins directory and run the following command:
This will create a new directory with the name of your plugin and set up the basic structure for your new plugin.
Requirements
- PHP = 8.3
- Composer = 2.0
License
GPL3.0