Title: Guides
Published: July 15, 2026
Last modified: July 16, 2026

---

# Guides

## In this article

 * [PHP code snippets and embeds](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#php-code-snippets-and-embeds)
 * [Run PHP frameworks in Playground](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#run-php-frameworks-in-playground)
 * [WordPress Playground for Everyone](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wordpress-playground-for-everyone)
 * [How to ship a real WordPress site in a native iOS app via Playground?](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#how-to-ship-a-real-wordpress-site-in-a-native-ios-app-via-playground)
 * [Providing content for your demo with WordPress Playground](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#providing-content-for-your-demo-with-wordpress-playground)
 * [WordPress Playground for Theme Developers](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wordpress-playground-for-theme-developers)
 * [WordPress Playground for Plugin Developers](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wordpress-playground-for-plugin-developers)
 * [Adding PR Preview Buttons with GitHub Actions](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#adding-pr-preview-buttons-with-github-actions)
 * [Using the WordPress Playground Agent Skill](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#using-the-wordpress-playground-agent-skill)
 * [Programmatic Usage of Playground CLI](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#programmatic-usage-of-playground-cli)
 * [Running PHPUnit with the Playground CLI](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#running-phpunit-with-the-playground-cli)
 * [E2E Testing with Playwright and WordPress Playground](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#e2e-testing-with-playwright-and-wordpress-playground)

[ Back to top](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wp--skip-link--target)

In this section we present a selection of guides that will help you to both work
with, and to better understand, a variety of topics related to [WordPress Playground](https://developer.wordpress.org/playground/).

## 󠀁[PHP code snippets and embeds](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#php-code-snippets-and-embeds)󠁿

Embed editable, runnable PHP and WordPress examples in any web page with the `<php-
snippet>` web component. The guide covers custom Blueprints, expected output, pure-
PHP snippets, runtime sharing, and the standalone PHP Playground.

## 󠀁[Run PHP frameworks in Playground](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#run-php-frameworks-in-playground)󠁿

Use Playground as a generic browser-based PHP runtime. This guide shows how to skip
the WordPress download, load a bundled Symfony app with a Blueprint, and run it 
from a `<php-snippet>`.

## 󠀁[WordPress Playground for Everyone](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wordpress-playground-for-everyone)󠁿

Think Playground is only for developers? Think again. This guide shows how WordPress
Playground helps beginners, site owners, and everyday users experiment safely — 
no technical expertise required.

## 󠀁[How to ship a real WordPress site in a native iOS app via Playground?](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#how-to-ship-a-real-wordpress-site-in-a-native-ios-app-via-playground)󠁿

Check “Blocknotes”, the first app to run WordPress natively on iOS via WordPress
Playground. It showcases the potential for seamless mobile web integration using
WebAssembly and the WordPress block editor.

## 󠀁[Providing content for your demo with WordPress Playground](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#providing-content-for-your-demo-with-wordpress-playground)󠁿

To provide a good demo of your theme or plugin via Playground, you may want to load
it with default content that highlights the features of your product. Check this
guide to learn how to do so.

## 󠀁[WordPress Playground for Theme Developers](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wordpress-playground-for-theme-developers)󠁿

This guide will show you the essential settings to fully create a theme demo using
WordPress Playground and how you can leverage it during the building stage.

## 󠀁[WordPress Playground for Plugin Developers](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#wordpress-playground-for-plugin-developers)󠁿

This guide will show you the basic settings to showcase your plugin using WordPress
Playground and how to use it while developing your plugin.

## 󠀁[Adding PR Preview Buttons with GitHub Actions](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#adding-pr-preview-buttons-with-github-actions)󠁿

Learn how to automatically add one-click preview buttons to your pull requests. 
When someone opens a PR on your plugin or theme repository, they get an instant 
link to test the changes in a fully configured WordPress instance running in the
browser.

## 󠀁[Using the WordPress Playground Agent Skill](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#using-the-wordpress-playground-agent-skill)󠁿

Automate WordPress Playground workflows with Claude Code. Learn how to install the
wp-playground agent skill and use it for local testing, Blueprint execution, snapshot
building, version switching, and debugging.

## 󠀁[Programmatic Usage of Playground CLI](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#programmatic-usage-of-playground-cli)󠁿

Learn how to use the `runCLI` function to control WordPress Playground programmatically
from JavaScript/TypeScript for automation, end-to-end testing, and CI/CD pipelines.

## 󠀁[Running PHPUnit with the Playground CLI](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#running-phpunit-with-the-playground-cli)󠁿

Run PHPUnit tests for WordPress plugins and themes using the Playground CLI — no
database required, clean environment on every run.

## 󠀁[E2E Testing with Playwright and WordPress Playground](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#e2e-testing-with-playwright-and-wordpress-playground)󠁿

Set up automated end-to-end tests for your WordPress plugins and themes using Playwright
and the WordPress Playground CLI.

First published

July 15, 2026

Last updated

July 16, 2026

Edit article

[ Improve it on GitHub: Guides ](https://raw.githubusercontent.com/WordPress/wordpress-playground/trunk/packages/docs/site/docs/main/guides/index.md)

Changelog

[ See list of changes: Guides ](https://developer.wordpress.org/playground/handbook/guides/?output_format=md#)

[  Previous: Launch](https://developer.wordpress.org/playground/handbook/about/launch/)

[  Next: PHP code snippets and embeds](https://developer.wordpress.org/playground/handbook/guides/php-code-snippets/)