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

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

geozhur/gendiff
===============

Training hexlet project

7.0.0(7y ago)032MITPHP

Since Oct 1Pushed 7y agoCompare

[ Source](https://github.com/geozhur/project-lvl2-s337)[ Packagist](https://packagist.org/packages/geozhur/gendiff)[ RSS](/packages/geozhur-gendiff/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (7)Versions (52)Used By (0)

Generate diff
=============

[](#generate-diff)

[![Build Status](https://camo.githubusercontent.com/f80e3384784e5c7e239c1a5d1306d7b322932f5647cff74854e3f91536e66440/68747470733a2f2f7472617669732d63692e6f72672f67656f7a6875722f70726f6a6563742d6c766c322d733333372e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/geozhur/project-lvl2-s337)[![Code Climate](https://camo.githubusercontent.com/551160c855d94e6e249b9048bd286721d4ed926e16e1100f04e8b921ba32e064/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f67656f7a6875722f70726f6a6563742d6c766c322d733333372f6261646765732f6770612e737667)](https://codeclimate.com/github/geozhur/project-lvl2-s337)

### Installing

[](#installing)

To install with composer:

```
composer global require geozhur/gendiff

```

Getting Started
---------------

[](#getting-started)

```
gendiff

```

1. gendiff

[![asciicast](https://camo.githubusercontent.com/fb952ac82739836357b2e2fa11256d3e5d011ab11f5ec8798531f94181aef3b0/68747470733a2f2f61736369696e656d612e6f72672f612f325a52485264716f6e5853424556536c4b774a4a31385577332e706e67)](https://asciinema.org/a/2ZRHRdqonXSBEVSlKwJJ18Uw3)

2. gendiff + JSON

[![asciicast](https://camo.githubusercontent.com/f3e9f6dd746f0e83d002c644a4a9fafff7271f6d769da675d36a207fc4dfb057/68747470733a2f2f61736369696e656d612e6f72672f612f624f666253546e33367172725378314855354d304e546a506c2e706e67)](https://asciinema.org/a/bOfbSTn36qrrSx1HU5M0NTjPl)

3. gendiff + Yaml

[![asciicast](https://camo.githubusercontent.com/10e687c21e89968b211b2c911fe6f9520ff90f780143091de234f51539eafe2f/68747470733a2f2f61736369696e656d612e6f72672f612f69775175786c6749485754444675324865353762764b5a584c2e706e67)](https://asciinema.org/a/iwQuxlgIHWTDFu2He57bvKZXL)

4. gendiff + Yaml + JSON

[![asciicast](https://camo.githubusercontent.com/6f23c2bb3cd9477e933f7a541257322997dc1c71a52a8ea9e8c5e7f50e6f5c8f/68747470733a2f2f61736369696e656d612e6f72672f612f51575039624b523539643832446f4b756442675461795446762e706e67)](https://asciinema.org/a/QWP9bKR59d82DoKudBgTayTFv)

5. gendiff --format plain before.json after.json

[![asciicast](https://camo.githubusercontent.com/2ce435a9819bea04947924a1d360f1ca7392970ad151cda723b5d1ed255cc3b6/68747470733a2f2f61736369696e656d612e6f72672f612f35596761576649487071563038476e694c3075536f443465572e706e67)](https://asciinema.org/a/5YgaWfIHpqV08GniL0uSoD4eW)

6. gendiff --format json before2.json after2.json

[![asciicast](https://camo.githubusercontent.com/ff1325bdb7beedb6687ee2402d92efb773e906f568d0961a091d51898c392e16/68747470733a2f2f61736369696e656d612e6f72672f612f4c754242646f79364b476d6c436d5248476d4b416a646731422e706e67)](https://asciinema.org/a/LuBBdoy6KGmlCmRHGmKAjdg1B)

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity75

Established project with proven stability

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

52

Last Release

2822d ago

Major Versions

2.0.3 → 3.0.02018-10-01

3.0.7 → 4.0.02018-10-02

4.1.0 → 5.0.02018-10-03

5.0.3 → 6.0.02018-10-04

6.7.0 → 7.0.02018-10-08

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/22957083?v=4)[Georgij Zsuravljov](/maintainers/geozhur)[@geozhur](https://github.com/geozhur)

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/geozhur-gendiff/health.svg)](https://phpackages.com/packages/geozhur-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)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49517.1k](/packages/blackfire-player)[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)
