Download the PHP package mihas2/xml_validator without Composer
On this page you can find all versions of the php package mihas2/xml_validator. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package xml_validator
XML Validator Library
A simple PHP XML validator for validate large XML files.
Installation
To install this library, use Composer:
Usage
Here's an example of how to use the XML validator:
Configuration
You can configure the XML validator with these options:
$xmlFile
(required): The path to your XML file.$verifyPeer
(optional, defaultfalse
): Set to true to verify the SSL/TLS certificate of the remote schema location.$verifyPeerName
(optional, defaultfalse
): Set to true to verify that the hostname matches the certificate's subject.$maxDepth
(optional, default10000
): The maximum depth for XML elements during validation.$xmlFlags
(optional, defaultLIBXML_BIGLINES | LIBXML_PARSEHUGE
): Additional flags to configure the libxml library's behavior.
Testing
To run tests, execute this command:
Not implemented yet
Contributing
We welcome contributions! Please submit a pull request with your proposed changes and describe what they do in detail.
License
This project is licensed under the MIT License - see the LICENSE file for details.
All versions of xml_validator with dependencies
PHP Build Version
Package Version
Requires
php Version
>=8.1
ext-libxml Version >=2.9.0
ext-intl Version *
ext-libxml Version >=2.9.0
ext-intl Version *
The package mihas2/xml_validator contains the following files
Loading the files please wait ....