Skip to content

Run examples with php wasm#1097

Merged
derickr merged 6 commits intophp:masterfrom
soyuka:examples-php-wasm
Dec 3, 2024
Merged

Run examples with php wasm#1097
derickr merged 6 commits intophp:masterfrom
soyuka:examples-php-wasm

Conversation

@soyuka
Copy link
Contributor

@soyuka soyuka commented Oct 16, 2024

Adds a PHP Wasm binary to run documentation examples in the browser. We discussed this with @pronskiy (
fixes php/doc-en#3259).

php-doc-2.mp4

I've builtin PHP wasm 8.4.0-dev and I'm not sure what would be preferred to keep this up to date. If you want to reproduce the build see:

soyuka/php-wasm#7

Clone that branch and execute:

docker buildx bake
cp build/* ../phpdoc/web-php/js

Work sponsored by Les-Tilleuls.coop inline with what we built at the API Platform Playground more informations on a blog post

Loading
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Interactive code examples on php.net