PHPackages                             zharkov-denis/gendiff - 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. zharkov-denis/gendiff

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

zharkov-denis/gendiff
=====================

differencies generator

v0.6.2(7y ago)116PHP

Since Apr 8Pushed 7y agoCompare

[ Source](https://github.com/mrDenisZharkov/project-lvl2-s459)[ Packagist](https://packagist.org/packages/zharkov-denis/gendiff)[ RSS](/packages/zharkov-denis-gendiff/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependencies (5)Versions (17)Used By (0)

Generate Differencies
=====================

[](#generate-differencies)

[![Maintainability](https://camo.githubusercontent.com/781aefe84a4e51f9aa6bbb82d33ba7a81fd6fc6189b7e0829affee644fa22bdd/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f34396131643634396165666564616133373863312f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/mrDenisZharkov/project-lvl2-s459/maintainability)[![Build Status](https://camo.githubusercontent.com/70dac3887dd0068b8cc7fee7d477c0b210e3f7daed6dcadecad3e8e7c7282768/68747470733a2f2f7472617669732d63692e6f72672f6d7244656e69735a6861726b6f762f70726f6a6563742d6c766c322d733435392e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/mrDenisZharkov/project-lvl2-s459)

Description:
------------

[](#description)

This package helps to find differences in files

How to install gendiff:
-----------------------

[](#how-to-install-gendiff)

For global installation:

```
composer global require zharkov-denis/gendiff

```

[![asciicast](https://camo.githubusercontent.com/724dd2689dfada650ce57e75dc5f31226549a1b2345498f0b6f1acce4e6659e8/68747470733a2f2f61736369696e656d612e6f72672f612f42796f637a6f704358695331555252675676345a47724775352e737667)](https://asciinema.org/a/ByoczopCXiS1URRgVv4ZGrGu5)

Call help:
----------

[](#call-help)

```
gendiff -h
or
gendiff -help

```

[![asciicast](https://camo.githubusercontent.com/72399804ec7d69b772b9d9d5f8fcbc2f3704935dba0b17877e8b54e4fe4ebbd1/68747470733a2f2f61736369696e656d612e6f72672f612f746377535853797433414a7246364934444b446836564d775a2e737667)](https://asciinema.org/a/tcwSXSyt3AJrF6I4DKDh6VMwZ)

Call json flat files to see difference:
---------------------------------------

[](#call-json-flat-files-to-see-difference)

```
gendiff *.json *.json

```

[![asciicast](https://camo.githubusercontent.com/265a49cc658d5feef0d2115efe3cce0ad1f6c629c43521f7fdcbe5f19259d0ad/68747470733a2f2f61736369696e656d612e6f72672f612f5477445977354b585464346f32706d4b7469333243705055462e737667)](https://asciinema.org/a/TwDYw5KXTd4o2pmKti32CpPUF)

Call yaml files to see difference:
----------------------------------

[](#call-yaml-files-to-see-difference)

```
gendiff *.yaml *.yaml

```

[![asciicast](https://camo.githubusercontent.com/fab56a96d3d9cc3622c5974c472951d7e4208de8d35101f8b6b01d5adcd3ab1a/68747470733a2f2f61736369696e656d612e6f72672f612f6e4b7a4e4e596d64424756795a706775335377616c4b4d72782e737667)](https://asciinema.org/a/nKzNNYmdBGVyZpgu3SwalKMrx)

Call json non-flat files to see difference:
-------------------------------------------

[](#call-json-non-flat-files-to-see-difference)

```
gendiff *.json *.json

```

[![asciicast](https://camo.githubusercontent.com/97e4a2f40eccc9ec7918b791e02423cd6df68ccc17c23a3188ecbf75c8b76683/68747470733a2f2f61736369696e656d612e6f72672f612f4f50684a65694f4e5048785749776c424c4b336b37563679332e737667)](https://asciinema.org/a/OPhJeiONPHxWIwlBLK3k7V6y3)

Call files to see difference in plain format:
---------------------------------------------

[](#call-files-to-see-difference-in-plain-format)

```
gendiff *.(json/yaml) *.(json/yaml) --format plain

```

[![asciicast](https://camo.githubusercontent.com/527454a7665f01ffdf0d61ba59c28f92f002004035bd6ea9a2c87b60eea08856/68747470733a2f2f61736369696e656d612e6f72672f612f79754536663469677166394847686177644c5947475067487a2e737667)](https://asciinema.org/a/yuE6f4igqf9HGhawdLYGGPgHz)

Call files to see difference in json format:
--------------------------------------------

[](#call-files-to-see-difference-in-json-format)

```
gendiff *.(json/yaml) *.(json/yaml) --format json

```

[![asciicast](https://camo.githubusercontent.com/80960d3970cbeb7c4c658ab53ed352b2c1dd4a06f44f2da989db17d45f025068/68747470733a2f2f61736369696e656d612e6f72672f612f4773586f636b414d5472794e6d6a3155736a5a5450703667392e737667)](https://asciinema.org/a/GsXockAMTryNmj1UsjZTPp6g9)

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

16

Last Release

2632d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/40824416?v=4)[Denis Zharkov](/maintainers/mrDenisZharkov)[@mrDenisZharkov](https://github.com/mrDenisZharkov)

---

Top Contributors

[![mrDenisZharkov](https://avatars.githubusercontent.com/u/40824416?v=4)](https://github.com/mrDenisZharkov "mrDenisZharkov (47 commits)")

---

Tags

projecthexletbraingames

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/zharkov-denis-gendiff/health.svg)

```
[![Health](https://phpackages.com/badges/zharkov-denis-gendiff/health.svg)](https://phpackages.com/packages/zharkov-denis-gendiff)
```

###  Alternatives

[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

101466.4k45](/packages/friendsoftypo3-content-blocks)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)[altis/local-server

Local Server module for Altis

18217.0k2](/packages/altis-local-server)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
