Show HN: Compile PHP to WebAssembly and run Symfony apps in the browser
Category: devtools
Tags: php, webassembly, symfony, browser-runtime, docker
Score: 7.3/10 (Innovation: 7, Technical: 8, Documentation: 8, Utility: 6)
PHP WASM Builder compiles PHP (with configurable versions and extensions) to WebAssembly, embeds application code and vendor into the .wasm, and runs it in browsers, Web Workers, or Node. It notably demonstrates full Symfony apps with Doctrine/SQLite in the browser, building on Derick Rethans' and Antoine Bluchet's prior work. The packaging, example gallery, and project integration story are strong, though the underlying approach is an evolution of existing PHP-WASM efforts.
Target audience: PHP developers, full-stack developers, devtools engineers
Repository: https://lyrixx.github.io/php-wasm-builder/ · JavaScript · MIT · 10 stars
View on Hacker News