kulikov-rv / gendiff
my second study project in Hexlet.io
Installs: 10
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
pkg:composer/kulikov-rv/gendiff
Requires
- docopt/docopt: ^1.0
- lstrojny/functional-php: ^1.17
- phploc/phploc: ^7.0.2
- symfony/yaml: ^5.3
Requires (Dev)
- phpstan/phpstan: ^0.12.96
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: 3.*
This package is auto-updated.
Last update: 2025-09-22 17:43:30 UTC
README
Diff generator is a program that determines the difference between two data structures
Utility features:
- Support for different input formats: yaml and json
- Report generation in the form of plain text, stylish and json
Install
$ composer require kulikov-rv/gendiff
Demonstration reports
Stylish(default)
$ bin/gendiff pathToFile1 pathToFile2
Plain
$ bin/gendiff --format plain pathToFile1 pathToFile2
Json
$ bin/gendiff --format json pathToFile1 pathToFile2