WordPress Playground - Run WordPress in the browser via WebAssembly PHP
WordPress Playground is an experimental in-browser WordPress that runs without a PHP server thanks to the magic of WebAssembly. It aims to make WordPress instantly accessible for users, learners, extenders, and contributors by providing foundational software tools that developers can use to create interactive, zero-setup, JavaScript applications with WordPress.
With WordPress Playground, developers can:
- Learn WordPress through exploration
- Learn WordPress development through writing code
- Gain instant access to the WordPress ecosystem
To get started, developers can check out the live demo available on the WordPress Playground project page. They can also embed WordPress Playground in their projects using an <iframe>
element and the JavaScript client. The documentation provides more information on how to use WordPress Playground and its tools.
For those interested in contributing or extending WordPress Playground, there is a separate repository called WordPress/playground-tools that contains additional tools built on top of WordPress Playground.
Developers can also clone the WordPress Playground repository using a faster alternative to the git clone
command, which pulls only the latest revision of the trunk branch. Additionally, they can run WordPress Playground locally and make changes to .ts
files, which will be live-reloaded. Changes to the Dockerfile require a full rebuild.
With its ability to run WordPress in the browser via WebAssembly PHP, WordPress Playground offers developers a unique and convenient way to explore, learn, and build with WordPress.