- 01 Blueprints Docs Check the Blueprints Gallery to explore real-world code examples of using WordPress Playground to launch a ... 2 个月前
- 02 Developers Docs Hi! Welcome to WordPress Playground Developer documentation. The WordPress Playground documentation is dist... 2 个月前
- 03 WordPress Playground Docs Looking for the official Playground website? WordPress Playground website moved to wordpress.org/playground... 2 个月前
- 04 Blueprint Bundles Blueprint bundles are self-contained packages that include a Blueprint declaration ( blueprint.json) along ... 2 个月前
- 05 Blueprint data format A Blueprint JSON file can have many different properties that will be used to define your Playground instan... 2 个月前
- 06 Blueprints Examples Check the Blueprints Gallery to explore real-world code examples of using WordPress Playground to launch a ... 2 个月前
- 07 Getting started with Blueprints Blueprints are JSON files for setting up your very own WordPress Playground instance. For example: { "$... 2 个月前
- 08 Steps The steps property of a Blueprint is an array of steps to run. For example this Blueprint logs the user in... 2 个月前
- 09 Troubleshoot and debug Blueprints Blueprint errors usually point to one of three places: The Blueprint JSON is invalid. Playground could not ... 2 个月前
- 10 Blueprints 101 – A crash course Welcome to a Blueprints crash course, where you’ll find everything you need to know about Blueprints: what ... 2 个月前
- 11 Using Blueprints You can use Blueprints in one of the following ways: Open New → Blueprint gallery in the Playground Dock an... 2 个月前
- 12 JSON API and Function API Blueprints are defined in JSON format, but the underlying implementation uses JavaScript functions to execu... 2 个月前
- 13 Resources References “Resource References” allow you use external files in Blueprints Blueprint steps such as installPlugin or ... 2 个月前
- 14 Shorthands You can specify some steps using a shorthand syntax. The following steps are currently supported: login ... 2 个月前
- 15 Build your first Blueprint Let’s build an elementary Blueprint that Creates a new WordPress site Sets the site title to “My first Blue... 2 个月前
- 16 How to load and run Blueprints Playground Dock The easiest way to run a Blueprint from the website is through the Dock: Open New → Bluepri... 2 个月前
- 17 What are Blueprints, and what can you do with them? With WordPress Playground you can create a whole website, including plugins, themes, content (posts, pages,... 2 个月前
- 18 APIs overview WordPress Playground APIs overview WordPress Playground exposes a few APIs that you can use to interact wit... 2 个月前
- 19 Architecture overview WordPress Playground consists of the following high-level components: WordPress WebAssembly PHP Browser bin... 2 个月前
- 20 Quick Start Guide for Developers WordPress Playground was created as a programmable tool. Below you’ll find a few examples of what you can d... 2 个月前
- 21 Limitations WordPress Playground is under active development and has some limitations you should keep in mind when runn... 2 个月前
- 22 Local Development Local WordPress Development with Playground Playground offers various development environments to streamlin... 2 个月前
- 23 Debugging with Xdebug in WordPress Playground Xdebug is a debugging extension for PHP that lets you set breakpoints, inspect variables, and step through ... 2 个月前
- 24 JavaScript API WordPress Playground comes with a JavaScript API client that grants you full control over your WordPress. A... 2 个月前
- 25 Query API WordPress Playground exposes a simple API that you can use to configure the Playground in the browser. It w... 2 个月前
- 26 Sites API The Sites API is a JavaScript API exposed by playground.wordpress.net. It manages the WordPress sites shown... 2 个月前
- 27 Blueprints Functions and the API Client Every Blueprint step you can declare in the JSON object also provides a handler function that can be used d... 2 个月前
- 28 Blueprints JSON and the API Client The Playground API client can be initialized with a JSON Blueprint. This is a convenient way of preconfigur... 2 个月前
- 29 Building PHP extensions Use @php-wasm/compile-extension when you have a phpize extension source directory and want a distributabl... 2 个月前
- 30 `remote.html` vs `index.html` playground.wordpress.net exposes two distinct APIs through two separate HTML files: remote.html and index... 2 个月前
- 31 Mount data Mount a directory from the browser You can mount a directory from the browser to Playground using the wind... 2 个月前
- 32 PHP extension dependencies Custom PHP.wasm extensions can only link WebAssembly code built with the same Emscripten toolchain and JSPI... 2 个月前
- 33 Loading PHP extensions PHP reads extension declarations while it starts. In PHP.wasm, that means extensions must be declared befor... 2 个月前
- 34 Playground API Client The PlaygroundClient object implements the UniversalPHP interface. All the methods from that interface ar... 2 个月前
- 35 Running PHP apps in the browser with ServiceWorkers and Worker Threads On a high level, WordPress Playground works in web browsers as follows: The index.html file on playground.... 2 个月前
- 36 Cross-process communication @php-wasm/web uses the Comlink library to turns the one-way postMessage available in JavaScript into a two... 2 个月前
- 37 Iframe-based rendering To avoid page reloads, all the PHPRequestHandler responses must be rendered in an iframe. Remember, the en... 2 个月前
- 38 PHP Worker Threads PHP is always ran in a web worker to ensure the PHP runtime doesn’t slow down the user interface of the mai... 2 个月前
- 39 Scopes Scopes keep your app working when you open it in two different browser tabs. The Service Worker passes the ... 2 个月前
- 40 Service Workers A Service Worker is used to handle the HTTP traffic using the in-browser PHPRequestHandler. Imagine your P... 2 个月前
- 41 Browser tab orchestrates the execution The main index.html ties the entire application together. It starts all the concurrent processes and displ... 2 个月前
- 42 Bundling WordPress for the browser The web bundler Dockerfile turns a vanilla WordPress into a browser-optimized one: Makes WordPress run on S... 2 个月前
- 43 Asyncify and JSPI: Stack Switching in PHP WebAssembly Asyncify lets synchronous C or C++ code interact with asynchronous JavaScript. Technically, it saves the en... 2 个月前
- 44 Compiling PHP The build pipeline lives in a Dockerfile. It was originally forked from seanmorris/php-wasm In broad strok... 2 个月前
- 45 PHP Filesystem The PHP module has its own filesystem separate from your computer’s filesystem. It is provided by Emscripte... 2 个月前
- 46 PHP.js JavaScript module PHP.js JavaScript module The php.js file generated by the WebAssembly PHP build pipeline is not a vanilla ... 2 个月前
- 47 WebAssembly PHP WordPress Playground build the PHP interpreter to WebAssembly using Emscripten and a dedicated pipeline. Bu... 2 个月前
- 48 How does it work? Database is supported via MySQL<->SQLite translation layer WordPress requires MySQL. However, there isn’t a... 2 个月前
- 49 WordPress support WordPress, as a PHP application, can run on PHP WebAssembly. However, there are a few caveats. SQLite First... 2 个月前
- 50 Using WordPress Playground in Node.js As a WebAssembly project, you can also use WordPress Playground in Node.js. If you need direct control over... 2 个月前
- 51 VS Code extension Start a zero-setup development environment using the VS Code extension, and develop your plugin or theme lo... 2 个月前
- 52 Playground CLI @wp-playground/cli is a command-line tool that simplifies the WordPress development and testing flow. Playg... 2 个月前
- 53 Getting Started with Xdebug This guide shows you how to enable Xdebug in WordPress Playground and start debugging your code. PHP WASM C... 2 个月前
- 54 About WordPress Playground What is WordPress Playground? WordPress Playground is the platform that lets you run WordPress instantly on... 2 个月前
- 55 Guides In this section we present a selection of guides that will help you to both work with, and to better unders... 2 个月前
- 56 Links and Resources There’s a set of redirections in place to make it easier the access to some of the tools related to Playgro... 2 个月前
- 57 Start using WordPress Playground in 5 minutes WordPress Playground can help you with any of the following: This page will guide you through each of these... 2 个月前
- 58 Troubleshooting WordPress Playground This page covers errors from the Playground website itself, saved Playgrounds, browser storage, and WordPre... 2 个月前
- 59 WordPress Playground web instance https://playground.wordpress.net/ runs WordPress in your browser without a server. The page opens a Playgro... 2 个月前
- 60 Build WordPress Playground can help you to create and learn WordPress quickly, even on mobile with no signal. You... 2 个月前
- 61 Launch Reach your clients or customers faster. Showcase your product, let users try it live, or launch it in the A... 2 个月前
- 62 Test Upgrade your QA process with the ability to review progress in your browser in a single click. When you’re ... 2 个月前
- 63 Code contributions Like all WordPress projects, Playground uses GitHub to manage code and track issues. The main repository is... 2 个月前
- 64 Coding principles Error messages A good error message informs the user of the following steps to take. Any ambiguity in error... 2 个月前
- 65 Playground Contributor Badge This page provides detailed information on the Playground Contributor Badge and the process of requesting i... 2 个月前
- 66 Contributor Day Table Leadership Guide This guide helps table leads prepare for and manage a WordPress Playground contributor table at WordCamp ev... 2 个月前
- 67 WordCamp Contributor Day WordCamp Contributor Day is an event where the WordPress community comes together to contribute to the Word... 2 个月前
- 68 Documentation contributions WordPress Playground’s documentation site is maintained by volunteers like you, who’d love your help. All d... 2 个月前
- 69 Releasing packages Playground publishes its packages to npm using automated CI workflows. This page explains how the release p... 2 个月前
- 70 Contributions to translations Help make WordPress Playground accessible to a global audience by translating its documentation. This guide... 2 个月前
- 71 E2E Testing with Playwright and WordPress Playground End-to-end testing verifies that your WordPress plugin or theme works correctly from a user’s perspective —... 2 个月前
- 72 WordPress Playground for Plugin Developers The WordPress Playground is an innovative tool that allows plugin developers to build, test and showcase th... 2 个月前
- 73 WordPress Playground for Theme Developers The WordPress Playground is an innovative tool that allows theme developers to build, test, and showcase th... 2 个月前
- 74 Adding PR Preview Buttons with GitHub Actions The Playground PR Preview action adds a preview button to your pull requests. Clicking the button launches ... 2 个月前
- 75 PHP code snippets and embeds Use <php-snippet> when you want readers to run PHP or WordPress code directly from a docs page, tutorial, ... 2 个月前
- 76 Run PHP frameworks in Playground WordPress Playground is also a browser-based PHP runtime. WordPress is the most common app it boots, but a ... 2 个月前
- 77 Running PHPUnit with the Playground CLI The Playground CLI includes a php subcommand that runs PHP scripts directly inside the Playground environm... 2 个月前
- 78 WordPress Playground for Everyone WordPress Playground lets you run WordPress instantly—no server, no setup, no risk. It works in your browse... 2 个月前
- 79 Programmatic Usage of Playground CLI The Playground CLI can also be controlled programmatically from your JavaScript/TypeScript code using the ... 2 个月前
- 80 Providing content for your demo with Playground One of the things you may want to do to provide a good demo with WordPress Playground is to load default co... 2 个月前
- 81 WordPress Playground in native iOS apps How to ship a real WordPress site in a native iOS app via Playground? Blocknotes is the first iOS applicati... 2 个月前