A php tool to lint and validate xml files from the commandline.
If you'd like to include this library in your project with composer, simply run:
composer require "sclable/xml-lint":dev-master
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
xmllint
has built in cli help screen:
vendor/bin/xmllint --help
-v
be verbose, display the filename of the current file to lint-r 0
don't search recursive (if the argument is a directory)
For the changelog see the CHANGELOG file
For the license and copyright see the LICENSE file