What problem does it solve?
WordPress Playground provides fast, disposable WordPress environments that you can spin up in the browser or locally to safely test plugins, themes, and configurations without a full-stack setup.
Core Features & Use Cases
- Auto-mountable plugin/theme environments for quick testing.
- Run and iterate on Playground Blueprints (JSON) locally to reproduce setups.
- Build reproducible snapshots of a site for sharing or CI.
- Switch WordPress and PHP versions quickly to reproduce issues.
- Debug plugin/theme code with Xdebug in an isolated Playground.
Quick Start
Install and run the Playground CLI: npx @wp-playground/cli@latest server --auto-mount
Open http://localhost:9400 to access the disposable WordPress instance, or run a blueprint with:
npx @wp-playground/cli@latest run-blueprint --blueprint=<file-or-url>
Build a snapshot with:
npx @wp-playground/cli@latest build-snapshot --blueprint=<file> --outfile=./site.zip
Switch WP/PHP versions using --wp and --php as needed.