This is a scaffold for creating a plugin for WordPress (https://wordpress.org). I wanted to restructure the project to keep the development files away from the source file for easier production compiling. The scaffold would create files from either wp scaffold plugin
or @hlashbrooke proposed template
- Wordpress should already be installed if using
wp cli
- Clone the repo
- Create the necessary env variables for the project (maybe via
composer config --json extra
?) - Configure using
composer
This setup can/will create and configure the following things automatically:
- install WP CLI
- create project using either WP CLI or Wordpress Plugin Template
- install PHCS with WP Coding Std.
- install Wordpress Test Suite
- install and activate selected plugins using composer script
- Neaten how stuff are installed
- Make considerations for themes
- Add more boilerplates
- Better way to install boilerplates??
- Publish to wordpress SVN