[docs] Adding WASM PHP modules page - #4010
Merged
Merged
Conversation
Contributor
There was a problem hiding this comment.
Pull request overview
Note
Copilot was unable to run its full agentic suite in this review.
Adds a new “PHP.wasm packages” documentation page and updates related architecture + Node.js usage docs across English, Spanish, and Portuguese to explain the package layering (universal API, platform adapters, version-specific binaries) and the “single-version minimal install” option.
Changes:
- Added a new “PHP.wasm packages” page (EN/ES/pt-BR) documenting the package layers and usage patterns.
- Updated architecture overviews and the PHP.js module doc to reference the new package-structure page.
- Updated Node.js usage docs (EN/ES/pt-BR) with guidance on adapter vs direct single-version loading.
Reviewed changes
Copilot reviewed 13 out of 13 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| packages/docs/site/sidebars.js | Adds the new “PHP.wasm packages” page to the architecture sidebar. |
| packages/docs/site/docs/developers/23-architecture/06-php-wasm-packages.md | New EN page documenting PHP.wasm package layers and usage approaches. |
| packages/docs/site/docs/developers/23-architecture/04-wasm-php-javascript-module.md | Updates EN module doc to reference the shared API and new packages page; fixes wording. |
| packages/docs/site/docs/developers/23-architecture/01-index.md | Updates EN architecture overview component list to point at the new packages page. |
| packages/docs/site/docs/developers/05-local-development/03-php-wasm-node.md | Updates EN Node.js docs with adapter vs single-version guidance and link to new page section. |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/developers/23-architecture/06-php-wasm-packages.md | New pt-BR translation of the packages page. |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/developers/23-architecture/04-wasm-php-javascript-module.md | Updates pt-BR module doc to reference the new packages page and loadPHPRuntime(). |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/developers/23-architecture/01-index.md | Updates pt-BR architecture overview component list and title. |
| packages/docs/site/i18n/pt-BR/docusaurus-plugin-content-docs/current/developers/05-local-development/03-php-wasm-node.md | Updates pt-BR Node.js docs with direct single-version guidance and links. |
| packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/developers/23-architecture/06-php-wasm-packages.md | New ES translation of the packages page. |
| packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/developers/23-architecture/04-wasm-php-javascript-module.md | New ES translation of the PHP.js module page with the updated messaging. |
| packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/developers/23-architecture/01-index.md | New ES architecture overview aligned with updated EN structure/tooling notes. |
| packages/docs/site/i18n/es/docusaurus-plugin-content-docs/current/developers/05-local-development/03-php-wasm-node.md | Updates ES Node.js docs with direct single-version guidance and links. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
reviewed
Jul 24, 2026
zaerl
approved these changes
Jul 27, 2026
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.
This pull request updates the documentation for PHP.wasm in both English and Spanish, clarifying the package structure and usage for Node.js and web environments. It introduces a new architecture page detailing the separation of the shared API, platform adapters, and version-specific binaries, and aligns the Spanish translations with these updates.
Documentation improvements and new content:
06-php-wasm-packages.md, explaining the PHP.wasm package layers, including the shared API (@php-wasm/universal), platform adapters (@php-wasm/node,@php-wasm/web), and version-specific binaries, with guidance on when to use each approach.Spanish and Portuguese translation alignment: