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

ActiveLibrary

valeraseregin/gendiff-php
=========================

php study project

v1.0.0(5y ago)06MITPHPPHP &gt;=7.4

Since Nov 27Pushed 5y ago1 watchersCompare

[ Source](https://github.com/valeriySeregin/gendiff-php)[ Packagist](https://packagist.org/packages/valeraseregin/gendiff-php)[ RSS](/packages/valeraseregin-gendiff-php/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (6)Versions (3)Used By (0)

gendiff-php
===========

[](#gendiff-php)

[![Main workflow](https://github.com/valeriySeregin/gendiff-php/workflows/PHP%20Gendiff/badge.svg)](https://github.com/valeriySeregin/gendiff-php/actions)[![Project Status: Inactive – The project has reached a stable, usable state but is no longer being actively developed; support/maintenance will be provided as time allows.](https://camo.githubusercontent.com/fb9b390d78edd87dc12ab09aa1c0df53d4f268537a6f4bc9819b3541d8c5a03f/68747470733a2f2f7777772e7265706f7374617475732e6f72672f6261646765732f6c61746573742f696e6163746976652e737667)](https://www.repostatus.org/#inactive)[![Maintainability](https://camo.githubusercontent.com/6f5a5122deaf3099077c521d575a56e28eb52fb8d8ff4160401b5ec3fb90d082/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37333032656161323038653061306666393536372f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/valeriySeregin/gendiff-php/maintainability)[![Test Coverage](https://camo.githubusercontent.com/eacce9e45c36f18c405d1b719c1cbfafd9d62f1a768d155bf05c8f0532b6ecc5/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f37333032656161323038653061306666393536372f746573745f636f766572616765)](https://codeclimate.com/github/valeriySeregin/gendiff-php/test_coverage)

A util calculating a difference between two files. This util supports two file input formats: json and yaml. Output might be formatted in json, plain and pretty.

Setup
=====

[](#setup)

`git clone https://github.com/valeriySeregin/gendiff-php.git`

`make install`

Composer
========

[](#composer)

`composer global require valeraseregin/gendiff-php`

`echo export PATH="$PATH:$HOME/.config/composer/vendor/bin" >> ~/.bashrc`

Getting help
============

[](#getting-help)

`gendiff --help`

Testing
=======

[](#testing)

`make test`

Linting
=======

[](#linting)

`make lint`

Usage example
=============

[](#usage-example)

[![asciicast](https://camo.githubusercontent.com/230e860e55a5cb22d937ae3a7efc6fbdf3e56011516382db2cbc626fe40e24c2/68747470733a2f2f61736369696e656d612e6f72672f612f4b714f6f514c4b7a34673453456f757173595477676448504b2e737667)](https://asciinema.org/a/KqOoQLKz4g4SEouqsYTwgdHPK)

###  Health Score

23

—

LowBetter than 30% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Total

2

Last Release

1934d ago

Major Versions

v0.1.0 → v1.0.02020-12-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/27f5e42aa172ec5e8e907d6a9e10e0e78bc58890924654ae0037b12b12e226c3?d=identicon)[valeriy.seregin](/maintainers/valeriy.seregin)

---

Top Contributors

[![valera-seregin](https://avatars.githubusercontent.com/u/40579575?v=4)](https://github.com/valera-seregin "valera-seregin (51 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

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

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

PHPackages © 2026

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