PHPackages                             aspov/differ - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. aspov/differ

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

aspov/differ
============

project #2

08PHPCI failing

Since Nov 2Pushed 6y ago1 watchersCompare

[ Source](https://github.com/aspov/php-project-lvl2)[ Packagist](https://packagist.org/packages/aspov/differ)[ RSS](/packages/aspov-differ/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Differ
======

[](#differ)

[![Build Status](https://camo.githubusercontent.com/6af1597bf5af5e08323f4e34e407cd52e3284fbba4d5e6a36441995d2e8303d7/68747470733a2f2f7472617669732d63692e6f72672f6173706f762f7068702d70726f6a6563742d6c766c322e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/aspov/php-project-lvl2)[![Maintainability](https://camo.githubusercontent.com/d52462ee4bc21745470af9475e13837bef0ffa7a413b153d54f1ae35e843f68e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37373062613138363331333330666466303838642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/aspov/php-project-lvl2/maintainability)[![Test Coverage](https://camo.githubusercontent.com/2d417f01db927a918c40d588517ec2d3ed58b659e0d75c16a0e9f4652e8f3b15/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37373062613138363331333330666466303838642f746573745f636f766572616765)](https://codeclimate.com/github/aspov/php-project-lvl2/test_coverage)

Generates a difference between files

Installation
------------

[](#installation)

```
$ composer global require aspov/differ

```

Usage
-----

[](#usage)

```
$ gendiff --format=json path\To\file1.json path\to\file2.json

Usage:
  gendiff (-h|--help)
  gendiff (-v|--version)
  gendiff [--format ]

Options:
  -h --help                     Show this screen
  -v --version                  Show version
  --format                 Report format [default: pretty]

```

To your project, you can use the function

```
