petr-heinz / yaml-tools
A tool for easier maintenance of YAML config files.
dev-master
2018-11-13 07:26 UTC
Requires
- php: ^7.1
- friendsofphp/php-cs-fixer: ^2.13
- symfony/console: ^4.1
Requires (Dev)
- jakub-onderka/php-console-highlighter: ^0.4.0
- jakub-onderka/php-parallel-lint: ^1.0
- phing/phing: ^2.16
- phpstan/phpstan: ^0.10.5
- phpunit/phpunit: ^7.4
- symplify/easy-coding-standard: ^5.1
This package is auto-updated.
Last update: 2024-10-14 03:31:02 UTC
README
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>