PHPackages                             62ng/generate-diff - 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. 62ng/generate-diff

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

62ng/generate-diff
==================

Calculate the difference between files

v0.1.11(4y ago)05PHP

Since May 11Pushed 4y ago1 watchersCompare

[ Source](https://github.com/62ng/php-project-lvl2)[ Packagist](https://packagist.org/packages/62ng/generate-diff)[ RSS](/packages/62ng-generate-diff/feed)WikiDiscussions main Synced today

READMEChangelog (10)Dependencies (6)Versions (13)Used By (0)

Hexlet tests and linter status:
-------------------------------

[](#hexlet-tests-and-linter-status)

[![Actions Status](https://github.com/62ng/php-project-lvl2/workflows/hexlet-check/badge.svg)](https://github.com/62ng/php-project-lvl2/actions)

Additional tests:
-----------------

[](#additional-tests)

[![Actions Status](https://github.com/62ng/php-project-lvl2/workflows/linter-check/badge.svg)](https://github.com/62ng/php-project-lvl2/actions)[![Actions Status](https://github.com/62ng/php-project-lvl2/workflows/phpunit-check/badge.svg)](https://github.com/62ng/php-project-lvl2/actions)[![Maintainability](https://camo.githubusercontent.com/d78ac7413e8ddb6ef772619923e2a5efb625cfb65d2f7af29a8b0c2bb6f385d7/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65316236396234343535383339636531393836372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/62ng/php-project-lvl2/maintainability)[![Test Coverage](https://camo.githubusercontent.com/a0ef10167cceeee1e2e72c93dbfebfd769dbf2f7fb21d36c298375111426cded/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f65316236396234343535383339636531393836372f746573745f636f766572616765)](https://codeclimate.com/github/62ng/php-project-lvl2/test_coverage)

Requirements
------------

[](#requirements)

- PHP &gt;= 8.1.5

Setup
-----

[](#setup)

```
$ git clone git@github.com:62ng/php-project-lvl2.git
$ make install
```

Asciinemas
----------

[](#asciinemas)

### show diff between two flat .json files

[](#show-diff-between-two-flat-json-files)

[![asciicast](https://camo.githubusercontent.com/d951f3007cefbbc7aa535ca0331f01f61be47072a4092dc79fefb2f4e887bf3d/68747470733a2f2f61736369696e656d612e6f72672f612f564a367948715a75347449783338613563466b45354a3646582e737667)](https://asciinema.org/a/VJ6yHqZu4tIx38a5cFkE5J6FX)

### show diff between two files with nested data

[](#show-diff-between-two-files-with-nested-data)

[![asciicast](https://camo.githubusercontent.com/b5c20d1d22af93d2caf3c7b6c0c32f4c1444b79ba4f0f3949530bfbbbca14c40/68747470733a2f2f61736369696e656d612e6f72672f612f73344436663652695861426863704548476f64466f4e4850752e737667)](https://asciinema.org/a/s4D6f6RiXaBhcpEHGodFoNHPu)

### show diff between two files in plain format

[](#show-diff-between-two-files-in-plain-format)

[![asciicast](https://camo.githubusercontent.com/1173f50e28ffa0acfc01c5ac6f07a5a2837a66ddf16875fb85415fe0d3e48f60/68747470733a2f2f61736369696e656d612e6f72672f612f396541767456547933465430424f7147646c56674a624e4c652e737667)](https://asciinema.org/a/9eAvtVTy3FT0BOqGdlVgJbNLe)

### show diff between two files in plain, stylish and json formats

[](#show-diff-between-two-files-in-plain-stylish-and-json-formats)

[![asciicast](https://camo.githubusercontent.com/341bbeacf550a8cb1b8cf58a77a361427375919a1f662db8056a5a478b29b256/68747470733a2f2f61736369696e656d612e6f72672f612f554b41416645505753685a6935344d49715374696433454e652e737667)](https://asciinema.org/a/UKAAfEPWShZi54MIqStid3ENe)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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 ~4 days

Total

12

Last Release

1470d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/97476944?v=4)[Andrey Frolov](/maintainers/62ng)[@62ng](https://github.com/62ng)

---

Top Contributors

[![62ng](https://avatars.githubusercontent.com/u/97476944?v=4)](https://github.com/62ng "62ng (111 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/62ng-generate-diff/health.svg)

```
[![Health](https://phpackages.com/badges/62ng-generate-diff/health.svg)](https://phpackages.com/packages/62ng-generate-diff)
```

###  Alternatives

[friendsoftypo3/content-blocks

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

103519.9k53](/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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[altis/local-server

Local Server module for Altis

18221.6k3](/packages/altis-local-server)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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