r/WordpressPlugins • u/AndersonSalas • Oct 05 '26
Free [FREE] Expression Lab: An in-browser diagnostic console for staging/local environments
Hi everyone,
I've been building an open-source diagnostic tool called Expression Lab, and I recently released version 0.2.0-alpha.
The goal of the project is to provide an interactive console for inspecting WordPress internals (posts, options, database state, files) during local development or staging troubleshooting, without having to write temporary var_dump() snippets or disposable MU plugins.
How it works
Instead of running arbitrary PHP code or relying on eval(), Expression Lab uses an extended version of Symfony's Expression Language component.
Key architectural points:
- Declarative DSL: Queries and transformations are written in a structured syntax rather than raw PHP snippets.
- In-memory SQLite mirroring: You can mirror core WordPress tables into an isolated in-memory SQLite database to run aggregate SQL queries safely.
- UI & Workspace: The console operates inside an isolated sandbox interface and supports multiple tabs, a multi-line scratchpad, offline IP resolution (MaxMind GeoLite2), and declarative charting via Vega-Lite.
A quick syntax example
/* Query recent published posts */
Posts.
.
.
.
.
/* Renders a Vega-Lite graph */
Graph.
Current limitations
This is an experimental alpha prototype and a non-commercial personal project. It is strictly meant for local development and staging sites only.
- It has not undergone third-party security audits.
- It is not intended for production environments.
- It requires PHP 8.2–8.5 and WordPress 6.4+.
It is distributed under GPLv2. If you work on WordPress architecture, local plugin development, or support workflows, I would really appreciate any feedback or testing.
GitHub: andersonsalas/expressionlab
Documentation and Download: expressionlab.io

