Using Plugin Machine With Existing Plugins


Plugin Machine is not just a plugin generator, it is a complete WordPress development framework. You can use Plugin Machine’s CLI to add new features to a plugin or create installable ZIP files.

If you want to use the features of Plugin Machine in a plugin that was not created with Plugin Machine, you can. You need to do two things:

  1. Create a new plugin with Plugin Machine and check the “Does This Plugin Already Have A Codebase?” option.
  2. Download the plugin and copy the pluginMachine.json file and add it to your plugin.

You can now use the Plugin Machine CLI or GitHub action with your plugin.