martines/differences-generator

Utility for comparing two config files and determining their differences

v0.6.0 2020-10-12 04:13 UTC

This package is auto-updated.

Last update: 2024-04-16 04:36:39 UTC


README

PHP CI Maintainability Test Coverage

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

Example of output the result in plain format

Example of output the result in JSON format