Patch Tester
Joomla with the Patch Tester: fetch the open pull requests of Joomla from GitHub and apply one.
Open the Patch TesterA complete Joomla site in your browser tab: no server, no installation, no account. Try Joomla, test an idea or a pull request, show something to someone, and throw it away, or keep it in your browser for later.
Open the playground Joomla, logged in as Super User, ready in secondsOr start .
Saved in this browser with Save… in the playground. They stay here only: use Export in the playground to keep a copy elsewhere.
Each link starts a playground of its own, already set up.
Joomla with the Patch Tester: fetch the open pull requests of Joomla from GitHub and apply one.
Open the Patch TesterA site in English, Dutch, German, French and Spanish, about UNESCO World Heritage sites, with the
demonstration data of Clifford E Ford.
Starts in a few seconds from a prebuilt copy. Add &fresh=1 to watch the blueprint
build it instead: about 45 seconds, plus a minute for the Smart Search index while you look around.
Joomla with Weblinks, the component for a directory of links that used to be part of Joomla. It opens on its list in the administrator.
Open WeblinksThese demos are only on this fork of the Joomla Playground, HermanPeeren/joomla-playground-extensions, where extensions and features are tried out before they are offered on the official Joomla Playground (not yet).
Joomla 6.2 with Joomla Component
Builder (JCB) and its plugins. It opens on JCB's dashboard: under Compiler, compile the
Demo J6 component, then install it on the same site or download its zip. Starts in a few seconds from a
prebuilt copy; add &fresh=1 to install JCB in your browser instead.
JCB's own maintainer, Llewellyn van der Merwe, has a playground for it too: the JoomEngine Playground. JCB is its default, on Joomla 6 or 5. What is different there: it runs a real MariaDB database compiled to WebAssembly instead of SQLite, on a 64-bit PHP, and it adds JoomEngine Code, a code editor in the browser (VS Code's editor, with AI-assisted changes and PHP debugging), and Adminer for the database.
Open Joomla Component Builder Open the JoomEngine PlaygroundA playground for each of the 18 steps of the Joomla Manual's Component Development Tutorial, with the code of that step installed, from joomla/manual-examples. Read a step in the manual, then try its code here. From step 4 on, the component's table has two landmarks.
Open step 1: Basic ComponentAn AI assistant on your computer (Claude Code, Claude Desktop, Codex, Gemini CLI or another MCP client) works on the site in your playground tab: it reads and writes the site's files, runs PHP and Joomla's console, makes requests to the site, and shows you a page. Ask it, for example, to install an extension and add some content, or to build a small module and show it.
It works through a small MCP server on your computer, which talks to the playground tab. So there is no demo link: you add the server to your assistant once, the assistant gives you the link to open, and the page asks you before it connects. The site stays in your browser, as always.
How to set it up How it worksThe site opens without the patch. Apply patch in the toolbar applies it and shows the same page again, now with the changes; Revert patch takes them out, so before and after are one click apart. The playground starts the Joomla version of the pull request's branch, or says when it does not have it.
As a link: …/joomla-playground/?pr=48831, with &url= for the page,
e.g. ?pr=48831&url=/administrator/index.php?option=com_config. Changes to JavaScript or CSS
(in build/media_source) are not built, so only PHP, template, language and XML changes show. See
the open pull requests.
Without a token, GitHub allows the Patch Tester 60 requests an hour; one Fetch Data uses about four. Click GitHub token… in the playground's toolbar and enter one: this browser remembers it and gives it to the Patch Tester of every new playground, so you enter it once. Use a token without permissions, because the pages of this site can read it, including the pull requests you test: a fine-grained token with access to public repositories only (read-only). Never put a token in a blueprint or a link: anyone with the link can read it.
Tutorials of the Joomla User Guide as guided tours: each link opens a playground in the language of the tour, and the tour shows the way step by step.
All tours and languages in one list: the list of tours. The tour starts by itself and waits for you to do each step. The playground changes three things in Joomla's Guided Tours plugin: the tour does not start again inside dialogs such as Menu Item Type, a tour of an earlier playground in the same tab does not continue halfway, and the editor's dialogs and Joomla's Preview come above the tour's overlay, so they can be clicked.
You see Joomla's administrator after a few seconds, already logged in as a Super User.
| Button | What it does |
|---|---|
| Site / Administrator | Show the front end or the administrator of the site. |
| New | Start a new, empty playground. |
| Start over | Throw this playground away and start again from the same link (and blueprint). |
| Save… | Keep this playground in your browser under a name. From then on, changes are saved as you work. |
| My sites | Open, rename or delete the sites you saved. |
| The mails the site sent. They are caught here, not delivered: try a password reset or a contact form. | |
| Export | Download the whole site as a zip. |
| Import… | Start a playground from such a zip, e.g. one someone sent you. |
| GitHub token… | With the Patch Tester: the GitHub token this browser remembers for it (see Test a pull request). |
On the right:
The playground logs you in to the administrator by itself. If you log out, or want to log in on the front
end: the username is admin, and the password is different for every playground. The toolbar
shows it ("Super User: admin / …"), and so does the login form. A saved site keeps its password. A session
lasts 4 hours (Joomla's default is 15 minutes); change it under System > Global Configuration > System
> Session Lifetime.
?site=<name>. That address reopens
the site, also after a reload or a browser restart, and it is listed under My sites and on
this page.?language=nl-NL starts a
playground in that language.Parameters set up a new playground; combine them with &.
?language=nl-NL?php=8.5?url=/index.php?login=no?extension=<zip URL>?blueprint-url=<JSON URL>| Parameter | Example | What it does |
|---|---|---|
joomla | ?joomla=5.4 | Joomla version; 5 also works. ?joomla=dev is the development branch |
php | ?php=8.3 | PHP version: 8.3, 8.4 (default) or 8.5 |
url | ?url=/index.php | The page to open first; default /administrator/ |
login | ?login=no | Start logged out |
extension | ?extension=https://example.org/mod_hello.zip | Install an extension package (repeatable) |
language | ?language=nl-NL | Install that language and make it the default of the site and the administrator |
blueprint-url | ?blueprint-url=https://example.org/blueprint.json | Set up the site with a blueprint |
blueprint | ?blueprint=heritage-demo | Set up the site with one of the playground's own blueprints (from its prebuilt copy, if it has one) |
fresh | ?blueprint=heritage-demo&fresh=1 | Run the blueprint, even if there is a prebuilt copy |
pr | ?pr=48831 | Test a pull request of joomla-cms: the Patch Tester, and a button to apply and revert it |
new | ?new | An empty playground (the address without parameters is this overview) |
A blueprint is a small JSON file with the steps to set up a site. Give its address with
?blueprint-url=, or put it in the address itself, after #. This one installs
Joomla's blog sample data, renames the site and opens the front end:
{
"preferredVersions": { "joomla": "6.2", "php": "8.4" },
"landingPage": "/index.php",
"steps": [
{ "step": "importSampleData" },
{ "step": "setGlobalConfig", "values": { "sitename": "My demo" } }
]
}
| Step | Properties | What it does |
|---|---|---|
installExtension | url | Install an extension package (zip) |
enableExtension | element, type, folder, client, params | Enable an extension and set its options, e.g. {"element": "debug", "type": "plugin", "folder": "system"} |
importSampleData | type (default blog), group, query | Install Joomla's sample data, or data of a plugin that works like it |
setGlobalConfig | values | Set Global Configuration options (properties of configuration.php) |
setSiteLanguage | language, administrator | Make a language the default (its pack is installed if needed) |
runSql | sql | Run SQL statements (MySQL syntax; #__ is the table prefix) |
runPHP | code | Run PHP code in the site's root folder |
writeFile | path, data | Write a file into the site |
unzip | url, to | Unpack a zip into the site |
login | Log in as the Super User (done by default) | |
installLanguage | language, publish | Install a language and publish its content language |
addModule | module, title, position, client, params, language | Publish a module on all pages |
addArticle | title, text, category, language, featured | Add a published article |
addUserGroup | title, parent | Add a user group |
disableExtension | element, type, folder, client | Disable an extension |
indexSmartSearch | Build the Smart Search index, like its Index button |
Any step can have "background": true: it then runs after the playground is ready, while you
use it, and the toolbar shows its progress.
Downloads (extension, installExtension, unzip) need a host that
allows it (CORS headers), such as GitHub Pages or raw.githubusercontent.com; release downloads on GitHub do
not. URLs in a blueprint are relative to the blueprint. If a step fails, the playground still starts and the
toolbar shows the error.
An export (Export in the toolbar) is a complete Joomla site that runs on SQLite,
with the playground's database driver and its database in data/joomla.sqlite. It runs on an
ordinary PHP web server, without MySQL. That is fine for a demo or test site. Joomla itself does not support
SQLite, so for a real site, move it to MySQL.
pdo_sqlite)configuration.php: $live_site = '';; set
$tmp_path and $log_path to the full paths of tmp and
administrator/logs on the server; and give $secret a new random string. The
playground's is the same in every playground.data/joomla.sqlite holds the whole site, password
hashes included. On Apache, data/.htaccess blocks it. On nginx, add a rule that denies
/data/, or move the file outside the web root and set $db in
configuration.php to its path. PHP must be able to write the file and the
data folder.php cli/joomla.php user:reset-password --username=adminOptionally, remove the playground's certificate from
libraries/vendor/composer/ca-bundle/res/cacert.pem: the block between the two "Joomla Playground
CA" lines. Its private key is gone, so it does no harm, and the next Joomla update replaces the file
anyway.
@php-wasm
of WordPress Playground (PHP compiled to WebAssembly) and
WP_MySQL_On_SQLite (MySQL
emulated on SQLite), both GPL-2.0-or-later; no WordPress itself is used. The demonstration data of the
multilingual demo is by Clifford E Ford. All credits are in the
README.