Add phpMyAdmin support to wp-env Playground runtime#75532
Merged
youknowriad merged 1 commit intotrunkfrom Feb 19, 2026
Merged
Conversation
Enables phpMyAdmin for the Playground runtime by introducing a new `phpmyadmin` boolean configuration option. When enabled, phpMyAdmin is accessible at `localhost:PORT/phpmyadmin`. Also fixes the pre-existing issue where `npx @wp-playground/cli` fails to resolve the binary in monorepo workspaces, and upgrades the CLI to v3.0.52 to support the --phpmyadmin flag. Co-Authored-By: Claude Opus 4.6 <[email protected]>
|
The following accounts have interacted with this PR and/or linked issues. I will continue to update these lists as activity occurs. You can also manually ask me to refresh this list by adding the If you're merging code through a pull request on GitHub, copy and paste the following into the bottom of the merge commit message. To understand the WordPress project's expectations around crediting contributors, please review the Contributor Attribution page in the Core Handbook. |
|
Size Change: -51 B (0%) Total Size: 3.03 MB
ℹ️ View Unchanged
|
Contributor
Author
|
Any reviews here @WordPress/gutenberg-core @adamziel |
t-hamano
approved these changes
Feb 19, 2026
Contributor
t-hamano
left a comment
There was a problem hiding this comment.
LGTM! It works fine on both Windows OS and WSL2 (Ubuntu).
scruffian
pushed a commit
that referenced
this pull request
Feb 23, 2026
Co-authored-by: youknowriad <[email protected]> Co-authored-by: t-hamano <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What?
Adds phpMyAdmin support to the wp-env Playground runtime and introduces a new
phpmyadminboolean configuration option for cleaner enable/disable control.Why?
The Playground runtime previously lacked phpMyAdmin support (feature marked as false), while the Docker runtime supported it. The latest
@wp-playground/cliv3.0.48+ now includes a--phpmyadminflag, enabling parity between both runtimes. Additionally, a dedicated boolean config option provides cleaner semantics than requiring users to setphpmyadminPortto enable phpMyAdmin.How?
phpmyadminboolean config (defaultfalse) to replace port-based toggle logicphpmyadminPortstill enables phpMyAdmin whenphpmyadminis not explicitly set--phpmyadminflag to CLI when enabledgetStatus()andstart()to report phpMyAdmin URL (localhost:PORT/phpmyadmin)phpmyadminPortcheck tophpmyadminboolean@wp-playground/clito v3.0.52npx @wp-playground/clinow resolves correctly in monorepo by usingrequire.resolve()+process.execPathTesting Instructions
.wp-env.jsonwith{ "phpmyadmin": true, "runtime": "playground" }wp-env starthttp://localhost:8888/phpmyadminwp-env statusand confirm phpMyAdmin URL is shownwp-env stopand verify the process is terminated{ "phpmyadminPort": 9999 }without explicitly settingphpmyadmin— it should still work in Docker runtimenpm test -- packages/envto verify all tests passTesting Instructions for Keyboard
No UI changes; configuration only.