Contributing

PerfLocale is built to WordPress plugin-review standards — no third-party PHP libraries, PHPStan at max level, and a regression suite you can run against any live install. This section collects the practical guides for working on the plugin.

Guides

  • Running the regression tests — the three standalone harnesses (REST API contract validation, recurring-cron behaviour, and end-to-end HTTP load testing); each runs against any live install and needs only WP-CLI + curl.

Coding standards

Code follows the WordPress Coding Standards (enforced with PHP_CodeSniffer) and passes WordPress Plugin Check cleanly. All JavaScript and CSS live in enqueued asset files — no inline scripts or styles. Internationalisation uses the modern WordPress 6.7+ i18n path.