evgvfv/php-project-lvl2

Find diffrents from to json/yml files

1.0.0 2020-05-19 15:27 UTC

This package is auto-updated.

Last update: 2024-05-20 00:45:15 UTC


README

Maintainability Test Coverage Build Status

Install

composer global require evgvfv/php-project-lvl2

Appointment package

Comparing data on 2 files (json, yml) and presentation diffrents to the string with brace, json format or plain. The package works with flat and nested data.

Example

gendiff -h - properties
gendiff -v - version
gendiff --format plain before.json after.json - get diffrents on plain format
gendiff --format json before.json after.json - get diffrents on json format
gendiff before.json after.json - get diffrents on standart format (string with brace)

Usage example

With flat data

asciicast

With nested data

asciicast

With other format (plain)

asciicast

With other format (json)

asciicast