This is a library for validating XML against one or more schemas.
Using Composer you can install the coding standard into your project:
composer require libero/xml-validator
Runs multiple validators and combines their results.
Validates against the Document Type Definition (DTD).
Always produces the configured result. Useful for testing.
Validates against a RELAX NG schema.
Validates against Schematron (using XSLT 1.0), which may be embedded inside a RELAX NG schema or an XML Schema Definition.
Validates against an XML Schema Definition (XSD).