Skip to content

Alexsey-VR/php-project-48

Repository files navigation

FILE DIFFERENCE CALCULATOR

Hexlet tests and linter status:

Actions Status check-for-linter Quality Gate Status

This is a console application that used to compute differences between two .json or .yaml files. Output results may be shown to the console in several formats, such that Stylish, Plane or JSON.

To getting start for this application use several steps:

  1. install PHP 8.3 and latest version of the Composer framework;
  2. install required packages: $ make install
  3. run application:

$ bin/gendiff fixtures/file1.json fixtures/file2.json

To print help to the console use command:

$ bin/gendiff -h

For developers may be used function, that return string result in selected format:

\Differ\Differ\genDiff(file1, file2, format)

Examples:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published