hallernsk / php-project-lvl2
hexlet-project-2
Package info
github.com/hallernsk/php-project-lvl2
Type:project
pkg:composer/hallernsk/php-project-lvl2
v1.0.0
2021-04-01 10:12 UTC
Requires
- docopt/docopt: ^1.0
- lstrojny/functional-php: ^1.17
- symfony/yaml: ^5.2
Requires (Dev)
- phpunit/phpunit: ^9.5
- squizlabs/php_codesniffer: ^3.5
README
Hexlet tests and linter status:
A php package calculates the difference between two json/yml files and outputs it in stylish (default), plain or json format
Setup
$ composer global require hallernsk/php-project-lvl2
Run
$ gendiff [--format <fmt>] <file1> <file2>
Generate diff of two JSON-files:
Generate diff of two YAML-files:
Generate diff of two complex JSON/YAML-files:
Generate diff of two complex JSON/YAML-files in plain format:
Generate diff of two complex JSON/YAML-files in json format: