compile-php-wasm
Installation
SKILL.md
Compiling PHP.wasm
Patterns for compiling PHP.wasm main modules and dynamic extension side modules in the WordPress Playground repository.
Requires: Docker, Node.js (version from .nvmrc), npm
Quick Reference
```bash
# Recompile a specific version for ALL platforms and modes (web+node, jspi+asyncify)
npx nx recompile-php:all php-wasm-web -- --PHP_VERSION=8.5
npx nx recompile-php:all php-wasm-node -- --PHP_VERSION=8.5