Download the PHP package sclable/xml-lint without Composer
On this page you can find all versions of the php package sclable/xml-lint. 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-lint
Sclable XML Lint
A php tool to lint and validate xml files from the commandline.
XML Lint checks the syntax of any xml files and validates the file against the XSD schema defined in the file.
Usage
Installation with Composer
If you'd like to include this library in your project with composer, simply run:
composer require "sclable/xml-lint"
Command Line Usage
To lint a single xml file:
vendor/bin/xmllint path/to/file.xml
To lint a directory and all its subdirectories:
vendor/bin/xmllint path/to/dir
Help
xmllint
has built in cli help screen:
vendor/bin/xmllint --help
Options
-v
be verbose, display the filename of the current file to lint-r 0
don't search recursive (if the argument is a directory)-e name
exclude files or directories containing 'name'-s
skip the xsd validation
Development
Run tests
Using docker:
Changelog
For the changelog see the CHANGELOG file
License
For the license and copyright see the LICENSE file
All versions of xml-lint with dependencies
PHP Build Version
Package Version
Requires
php Version
8.0.*|8.1.*|8.2.*|8.3.*
symfony/console Version 5.3.*|5.4.*|6.*|7.*
symfony/finder Version 5.3.*|5.4.*|6.*|7.*
ext-libxml Version *
ext-dom Version *
symfony/console Version 5.3.*|5.4.*|6.*|7.*
symfony/finder Version 5.3.*|5.4.*|6.*|7.*
ext-libxml Version *
ext-dom Version *
The package sclable/xml-lint contains the following files
Loading the files please wait ....