/yaml-tools

Tool that will one day help developers with maintaining their YAML configs.

Primary LanguagePHPMIT LicenseMIT

YAML Tools

Build Status PHPStan Latest Stable Version License

Tool that will one day help developers with maintaining their YAML configs.

First, it will get your configs alphabetically sorted automatically. To see why you would want to do that, you can read about YAML file sort checker on Martin Hujer's blog.

Installation

composer require --dev petr-heinz/yaml-tools:@dev

Usage

vendor/bin/yaml-tools fix <path>