Repository navigation
feat: add interactive PHP tutorials for every bundled runtime - #436
Merged
Merged
Conversation
glassmonkey
force-pushed
the
feat/versioned-tutorial
branch
from
October 28, 2026 14:20
307f3cf to
75f67e7
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds an interactive beginner tutorial inside PHP Playground. Readers edit an Example or select an Experiment, predict its result, then explicitly Run it in the selected PHP WASM runtime. The course covers all bundled runtimes, with compatible code and explanations for older versions and feature-gated lessons for enums and property hooks.
Astra review follow-ups also preserve the authoring HTML entry during SEO transformation, report PHP stderr/exit failures, and correct Enums/version-authoring explanations. The reviewer remained read-only during the learning-data changes and returned feedback for the parent to implement; final read found no remaining concrete findings.
Based directly on master; independent of #405. Existing app dependencies and WASM assets are preserved except the added build-only PNG renderer and licensed fonts.
Validation
npm run buildnow performs lightweight post-build checks: 188 canonical pages, 187 image references, compiled JS/CSS and 18 configured-latest aliases. No build.test.ts, separate build root or validation server. The build itself needs no browser.Local preview: http://127.0.0.1:18902/tutorial/ (development machine only).