php-wasm is a WebAssembly-powered runtime that enables PHP to run entirely inside the browser or JavaScript environments without requiring a traditional server setup. It compiles PHP into WebAssembly and exposes it through JavaScript APIs, allowing developers to execute PHP scripts directly in web pages, service workers, or Node.js contexts. One of its most distinctive capabilities is the introduction of a CGI-style runtime that mimics how PHP operates under web servers like Apache or Nginx, enabling full HTTP request handling directly in the browser. This allows developers to build fully client-side applications that behave like server-rendered PHP sites, including support for routing, AJAX requests, and dynamic page generation. The system also supports persistent memory, filesystem access, and integration with browser APIs, making it suitable for complex applications rather than simple demos.

Features

  • Run PHP directly in the browser using WebAssembly
  • CGI-style execution mode with HTTP request handling
  • Integration with service workers for server-like behavior
  • Persistent memory and virtual filesystem support
  • Direct interaction between PHP and JavaScript/DOM
  • Support for modern PHP versions and extensions

Project Samples

Project Activity

See All Activity >

License

Apache License V2.0

Follow php-wasm

php-wasm Web Site

Other Useful Business Software
Connect with customers in one app Icon
Connect with customers in one app

Businesses of all sizes seeking an AI-enhanced, all-in-one communication platform to unify voice, video, and messaging for improved team collaboration

Dialpad Connect is an AI-powered unified communications platform that combines voice, video, and messaging to enhance team collaboration and customer interactions. It features real-time call transcription, automated call summaries, and AI-generated action items to help users stay focused during conversations. The platform integrates seamlessly with popular business apps like Salesforce, Zendesk, Microsoft Teams, and Google Workspace to streamline workflows. Designed for businesses of all sizes, Dialpad Connect delivers enterprise-grade reliability with 100% uptime SLA and robust disaster recovery. Security and privacy are core priorities, meeting standards like GDPR, HIPAA, and SOC 2 compliance. Dialpad Connect helps companies elevate customer experiences while boosting team productivity.
Learn More
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of php-wasm!

Additional Project Details

Programming Language

PHP

Related Categories

PHP Software Development Software

Registered

2026-04-08