Guides
Step-by-step guides for the Mammoth WP developer packages.
-
Declare a WordPress feature once: REST route, WP-CLI command and Ability with wp-kit
Use mammothwp/wp-kit to declare a plugin operation once and register it as a REST route, a WP-CLI command and a WordPress Ability from one definition.
-
Run your plugin's checks on a real WordPress site with wp-self-test
Use mammothwp/wp-self-test to ship a manifest of checks with your plugin and run them on a real site from wp-admin, WP-CLI, REST or the Abilities API.
-
Add a support screen to your WordPress plugin with mammothwp/support
Use mammothwp/support to give your plugin a shared wp-admin support screen that sends tickets with wp_mail, with an opt-in site report the user can preview.
-
Build, check and ship a WordPress plugin release with wp-release
Use mammothwp/wp-release to build a plugin zip, run Plugin Check on it in a throwaway site and deploy it to wordpress.org SVN, the same way locally and in CI.
Companion videos
-
Video: add a Support screen to a WordPress plugin in about a minute
A screen recording of mammothwp/support: composer require, one register_plugin() call, Tools > Support, the opt-in site report, and a disabled Send button when no email is set.