A compact command line utility for checking YAML file syntax
A compact command line utility for checking YAML file syntax. Uses the parsing facility of the Symfony Yaml Component.
usage: yaml-lint [options] [input source] input source Path to file, or "-" to read from standard input -q, --quiet Restrict output to syntax errors -h, --help Display this help -V, --version Display application version
👉 Note that only single files or standard input are currently supported, with support for multiple files planned for a future release.
Install as a project component with Composer (executable from the project's
composer require j13k/yaml-lint
Typically a binary edition (
yaml-lint.phar) is also available for download
with each release. This embeds
the latest stable version of the Symfony Yaml component that is current at
the time of the release.
Please see CHANGELOG for information on what has changed recently.
The MIT License (MIT). Please see LICENCE for more information.