Skip to content

Composer: clarify that the PHP libxml extension is required#1409

Open
jrfnl wants to merge 1 commit into4.xfrom
feature/1392-composer-extension-requirements
Open

Composer: clarify that the PHP libxml extension is required#1409
jrfnl wants to merge 1 commit into4.xfrom
feature/1392-composer-extension-requirements

Conversation

@jrfnl
Copy link
Copy Markdown
Member

@jrfnl jrfnl commented Apr 6, 2026

Description

The simplexml and xmlwriter extensions both need the libxml extension, so the requirement not being explicit was not problematic, as it was already enforced via the other two requirements.

Still, better to be explicit.

Includes adding the extension to the requirements check and the related tests.

Suggested changelog entry

Clarified that libxml is a required PHP extension

Related issues/external references

Related to #1392

The `simplexml` and `xmlwriter` extensions both need the `libxml` extension, so the requirement not being explicit was not problematic, as it was already enforced via the other two requirements.

Still, better to be explicit.

Includes adding the extension to the requirements check and the related tests.
Copy link
Copy Markdown
Member

@fredden fredden left a comment

Choose a reason for hiding this comment

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

Thanks for this. To confirm, we are using PHP functions provided by the libxml extension (not just SimpleXML and XMLWriter), so listing this as one of our dependencies makes sense. The fact that this extension is already a dependency of those other two means that end users probably don't need to do anything differently.

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.

3 participants