Skip to content

docs(hosting): add ext-xmlreader to required PHP extensions#2307

Open
Martin Krzykawski (MartinKrzykawski) wants to merge 1 commit into
mainfrom
docs/hosting-add-ext-xmlreader
Open

docs(hosting): add ext-xmlreader to required PHP extensions#2307
Martin Krzykawski (MartinKrzykawski) wants to merge 1 commit into
mainfrom
docs/hosting-add-ext-xmlreader

Conversation

@MartinKrzykawski
Copy link
Copy Markdown
Contributor

Summary

Adds xmlreader to the list of required PHP extensions on the hosting requirements page (guides/hosting/index.md).

The Shopware core uses \XMLReader in SvgContentValidator (validates uploaded SVGs). ext-xmlreader is a core PHP extension but has its own --enable-xmlreader configure flag separate from ext-xml, so minimal/custom PHP builds can ship without it. The platform-side fix declares the dependency in the composer manifest; this PR keeps the public hosting docs in sync.

Related links

Checklist

  • I reviewed affected links, code samples, and cross-references, including PageRef references where relevant.
  • I added or updated redirects in .gitbook.yaml if pages were moved, renamed, or deleted.
  • I updated .wordlist.txt (and sorted it) if spellcheck flags new legitimate terms.
  • Any required dependent changes in downstream modules have already been merged and published.
  • This pull request is ready for review.

Notes

Single-line edit; the extension is inserted alphabetically between xml and zip in the existing comma-separated list.

The Shopware core relies on \XMLReader (used by SvgContentValidator).
ext-xmlreader is a core PHP extension but has its own configure flag,
so minimal PHP builds can omit it. Listing it explicitly in the hosting
requirements keeps the docs aligned with the composer manifests.

Relates shopware/shopware#16961
Relates shopware/shopware#17020
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR updates the hosting requirements documentation to reflect that Shopware also requires the PHP xmlreader extension (used by core SVG validation via \XMLReader), keeping the public docs aligned with the platform dependency declaration.

Changes:

  • Add xmlreader to the “Required extensions” list on the hosting requirements page.
  • Keep the extensions list alphabetically ordered (xml, xmlreader, zip).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants