Plugin Check (Proof of concept) archived
Proof of concept for a WordPress plugin check tool.
by WordPress Performance Group · github.com/felixarntz/plugin-check · website
★ 10stars
1forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/felixarntz/plugin-check/archive/refs/heads/main.zipReadme
Plugin Check
Proof of concept for a WordPress plugin check tool.
For now, this is limited to WP-CLI usage. Eventually, the real plugin checker should probably have a UI as well that allows invoking the checks for a plugin.
Usage examples
wp plugin-check check-plugin hello
wp plugin-check check-plugin akismet
Architecture
- All checks are implemented as classes that implement the
WordPress\Plugin_Check\Checker\Checkinterface. - Check classes can optionally implement the
WordPress\Plugin_Check\Checker\Preparationinterface if they require any environment preparation before running the check. - There can also be general environment preparation steps which should be implemented as standalone classes implementing the
WordPress\Plugin_Check\Checker\Preparationinterface only.
Currently included checks
Enqueued_Scripts_CheckPHP_CodeSniffer_Check- currently just checks for
WordPress-Coreruleset - should eventually use a custom ruleset for the plugin checker
- currently just checks for