The Difference Calculator is a console solution for finding differences between two files using PHP. Support for JSON, YML and YAML formats is provided. The solution supports various formats for outputting differences (Stylish, Plain and Json). The operation logic is based on recursive file comparison and takes into account the types and structure of the compared data.
git clone https://github.com/MaksHaks/php-project-lvl2.git
make install
Calculate difference between file1 and file2:
./bin/gendiff --format <format> <file1> <file2>
For more information
./bin/gendiff -h