WP
Playground Workbench Unsaved runtime / browser tab
/wordpress/wp-config.php
1 <?php define( 'CONCATENATE_SCRIPTS', false );
2 /**
3  * Base configuration for WordPress Playground.
4  * You can edit files directly inside the browser runtime.
5  */
6 define( 'DB_NAME', 'database_name_here' );
7 define( 'DB_USER', 'username_here' );
8 define( 'DB_PASSWORD', 'password_here' );
9 define( 'DB_HOST', 'localhost' );
10 define( 'DB_CHARSET', 'utf8mb4' );
11 $table_prefix = 'wp_';
12 require_once ABSPATH . 'wp-settings.php';
/blueprint.json
1 {
2   "$schema": "https://playground.wordpress.net/blueprint-schema.json",
3   "login": true,
4   "landingPage": "/hello-from-playground/",
5   "preferredVersions": { "php": "8.3", "wp": "latest" },
6   "steps": [
7     { "step": "runPHPWithOptions", "options": { "code": "<?php echo 'ready';" } }
8   ]
9 }

SQLite runtime

WordPress Playground emulates MySQL using SQLite. Database tools are early access.

Driver
MySQL emulation backed by SQLite
Path
/wordpress/wp-content/database/.ht.sqlite
Size
452 KB

playground boot completed in browser runtime

wordpress no PHP warnings captured

php error log empty

Live preview /hello-from-playground/
WMy WordPress WebsiteEdit Site+ NewHowdy, admin

Hello from WordPress Playground!

This is Playground, a WordPress that runs client-side in your browser. It is perfect for testing plugins, themes, and client demos.

Note that you are logged-in as admin!