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

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

kulikov-rv/gendiff
==================

my second study project in Hexlet.io

0.1.2(4y ago)010MITPHP

Since Jun 1Pushed 3y ago1 watchersCompare

[ Source](https://github.com/KulikovRV/php-project-lvl2)[ Packagist](https://packagist.org/packages/kulikov-rv/gendiff)[ RSS](/packages/kulikov-rv-gendiff/feed)WikiDiscussions main Synced 3d ago

READMEChangelog (10)Dependencies (7)Versions (21)Used By (0)

Files diff generator
====================

[](#files-diff-generator)

- [![Maintainability](https://camo.githubusercontent.com/58a4e11043a99c599c7aaa5f8e56a377ec7210523fe49e16e409ad934822787d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62393430326136363339616565643564383234652f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/KulikovRV/php-project-lvl2/maintainability)
- [![Test Coverage](https://camo.githubusercontent.com/8523165b0465a63dca982c7fcd8bb96a26a01876d3885df9fd3962a7601908a6/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62393430326136363339616565643564383234652f746573745f636f766572616765)](https://codeclimate.com/github/KulikovRV/php-project-lvl2/test_coverage)
- [![Actions Status](https://github.com/KulikovRV/php-project-lvl2/workflows/hexlet-check/badge.svg)](https://github.com/KulikovRV/php-project-lvl2/actions)
- [![PHP CI](https://github.com/KulikovRV/php-project-lvl2/actions/workflows/workflow.yml/badge.svg)](https://github.com/KulikovRV/php-project-lvl2/actions/workflows/workflow.yml)

Diff generator is a program that determines the difference between two data structures

Utility features:

- Support for different input formats: yaml and json
- Report generation in the form of plain text, stylish and json

Install
-------

[](#install)

```
$ composer require kulikov-rv/gendiff
```

Demonstration reports
---------------------

[](#demonstration-reports)

### Stylish(default)

[](#stylishdefault)

```
$ bin/gendiff pathToFile1 pathToFile2
```

[![asciicast](https://camo.githubusercontent.com/9bcadd55cf0de70bcb1ed61d25b9f7a05667c7bfc591220a6eaab855180b4e1c/68747470733a2f2f61736369696e656d612e6f72672f612f37496c414946304d515a37326c5675426741494c496f6470572e737667)](https://asciinema.org/a/7IlAIF0MQZ72lVuBgAILIodpW)

### Plain

[](#plain)

```
$ bin/gendiff --format plain pathToFile1 pathToFile2
```

[![asciicast](https://camo.githubusercontent.com/9b67dd1d1a5ab0d0b85212ee2c5b48e98b65a1a854563b7f225f444579a9b4c9/68747470733a2f2f61736369696e656d612e6f72672f612f7a516875624a65316f77496345676347485a6755776939476a2e737667)](https://asciinema.org/a/zQhubJe1owIcEgcGHZgUwi9Gj)

### Json

[](#json)

```
$ bin/gendiff --format json pathToFile1 pathToFile2
```

[![asciicast](https://camo.githubusercontent.com/efdc1290c92856a3e2e50b48d3d236f1a5f76e7d02cd5cc62e85e032107a7723/68747470733a2f2f61736369696e656d612e6f72672f612f304271784571644f4d54434e55344e34424d6e4369543973702e737667)](https://asciinema.org/a/0BqxEqdOMTCNU4N4BMnCiT9sp)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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

Recently: every ~67 days

Total

13

Last Release

1475d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/28564797?v=4)[Roman Kulikov](/maintainers/KulikovRV)[@KulikovRV](https://github.com/KulikovRV)

---

Top Contributors

[![KulikovRV](https://avatars.githubusercontent.com/u/28564797?v=4)](https://github.com/KulikovRV "KulikovRV (143 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M158](/packages/orchestra-canvas)[netgen/content-browser

Netgen Content Browser is a Symfony bundle that provides an interface which selects items from any kind of backend and returns the IDs of selected items back to the calling code.

14112.1k8](/packages/netgen-content-browser)

PHPackages © 2026

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