Home

Static Badge Discord

Join the community: reddit | discord

Nightly builds are announced in the #nightly-builds channel on the php-wasm Discord server.

Getting Started

To install php-wasm with npm, see INSTALLING.

For instructions on using PHP inside of JS scripts, see PHP In Javascript.

If you want to write pure frontend PHP and skip the JS entirely, see PHP In Static HTML.

If you’d like to spin up a webserver right in your browser, see PHP-CGI In Service Workers.

If you’d like to serve websites with Node.js, see PHP-CGI In Node.js.

Demo

Nightly Builds

The latest successful nightly artifact build published from GitHub Actions is the Build Artifacts workflow run on develop from February 24, 2026:

  • Run #92
  • GitHub Actions run ID 22360005357
  • PHP 8.0, 8.1, 8.2, 8.3, 8.4, and 8.5
  • static, shared, and dynamic library builds
  • Discord: nightly builds are announced in #nightly-builds

https://github.com/seanmorris/php-wasm/actions/runs/22360005357

For historical release notes, see the CHANGELOG.

🍻 Licensed under the Apache License, Version 2.0

Licensed under the Apache License, Version 2.0 (the “License”); you may not use this file except in compliance with the License. You may obtain a copy of the License at

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an “AS IS” BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

http://www.apache.org/licenses/LICENSE-2.0