🚀 PHP Hello World on Cloudflare!

PHP-WASM is ready to deploy on Cloudflare Pages

⚠️ Next Steps Required

The php-wasm setup is complete, but the WASM binary (13MB) requires special handling for Cloudflare Pages Functions.

The recommended approach is to:

  1. Store PHP files in a separate storage (R2, KV, or external)
  2. Load PHP-WASM dynamically on demand
  3. Use a CDN for the WASM binary

📦 What's Installed

php-wasm@alpha - ✅ Installed

php-cgi-wasm@alpha - ✅ Installed

WASM Binary - ✅ Available in /public

Cloudflare Pages - ✅ Deployed

🎯 Working Example

Check out the live demo at php-cloud.pages.dev to see PHP-WASM in action!

Source code: github.com/seanmorris/php-cloud

✨ Project Structure

Your project is set up with: