martines / differences-generator
Utility for comparing two config files and determining their differences
v0.6.0
2020-10-12 04:13 UTC
Requires
- docopt/docopt: ^1.0
- symfony/yaml: ^5.1
Requires (Dev)
- phpunit/phpunit: ^9.3
- squizlabs/php_codesniffer: ^3.5
README
About
Differences generator - is the CLI utility for comparing two configuration files and determining their differences.
Utility features:
- supported input formats: JSON, YML/YAML;
- report generation/output in JSON, plain (human readable) and stylish (structured) format.
Install
$ composer global require martines/differences-generator
How it works:
Package installation and example of compare of two flat JSON files
Example of compare of two flat YAML files
Examples of compare of two JSON files with nested structure