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

ActiveProject

artems/gendiff
==============

This package can find difference between two text object in many formats like yaml, json e.t.c.

02PHP

Since Aug 25Pushed 6y agoCompare

[ Source](https://github.com/solar05/project-lvl2-s483)[ Packagist](https://packagist.org/packages/artems/gendiff)[ RSS](/packages/artems-gendiff/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

Badges:
-------

[](#badges)

[![Build Status](https://camo.githubusercontent.com/42a22e2c09c196f5041d89a7c077f418c8e2a1006dd5cd7cea26632eeece66cd/68747470733a2f2f7472617669732d63692e6f72672f736f6c617230352f70726f6a6563742d6c766c322d733438332e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/solar05/project-lvl2-s483)

[![Maintainability](https://camo.githubusercontent.com/32e8d313074b1a304df3cfa057486d3541eacecb7863fd5f021932c4b5deb6ff/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f31363462313630613338663231303262636537392f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/solar05/project-lvl2-s483/maintainability)

Installation:
-------------

[](#installation)

composer global require artems/gendiff:dev-master [![](gifs/demo.gif)](gifs/demo.gif)

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

[](#description)

Cli program for find difference between two text files and form result. Program supports formats json and yaml.

Pretty json diff
----------------

[](#pretty-json-diff)

[![asciicast](https://camo.githubusercontent.com/0d507d06519ca76c14f21d8a1ac118df4fed834f714daa6e36390f8f5582c336/68747470733a2f2f61736369696e656d612e6f72672f612f714474597a416e554b4258314761424d6f3571394b587473362e737667)](https://asciinema.org/a/qDtYzAnUKBX1GaBMo5q9KXts6)

Pretty yaml diff
----------------

[](#pretty-yaml-diff)

[![asciicast](https://camo.githubusercontent.com/78903da3be614ddcb7ad0df76681923a94d3e26a88269b48acdfa7d868bfba44/68747470733a2f2f61736369696e656d612e6f72672f612f4d734b3253794866786232334c666b573066475a4545795a692e737667)](https://asciinema.org/a/MsK2SyHfxb23LfkW0fGZEEyZi)

Plain json diff
---------------

[](#plain-json-diff)

[![asciicast](https://camo.githubusercontent.com/8f13370aba80b26eba85f9a8fbad3d3b6b1943f9f56b7c51da609c8ce2fe374a/68747470733a2f2f61736369696e656d612e6f72672f612f6b3870544b4157575066466e4938374b737a6f477a6b75596f2e737667)](https://asciinema.org/a/k8pTKAWWPfFnI87KszoGzkuYo)

Plain yaml diff
---------------

[](#plain-yaml-diff)

[![asciicast](https://camo.githubusercontent.com/791be47c559d07e75c3ac11ddef71cdedd5bf550f653569b82ed00192e5f9702/68747470733a2f2f61736369696e656d612e6f72672f612f666d56746437666763396c6d7232324642777730334f3632322e737667)](https://asciinema.org/a/fmVtd7fgc9lmr22FBww03O622)

Json json diff and yaml diff
----------------------------

[](#json-json-diff-and-yaml-diff)

[![asciicast](https://camo.githubusercontent.com/73c301fd2bab777635fd853cb634de440326de6a1521f020bfe4d117cbc73588/68747470733a2f2f61736369696e656d612e6f72672f612f3176456451616e4b4d6b344530546132735a726c394b7a70362e737667)](https://asciinema.org/a/1vEdQanKMk4E0Ta2sZrl9Kzp6)

###  Health Score

17

—

LowBetter than 6% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity2

Limited adoption so far

Community3

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/f8077b71eb914c963323719d30a07ef3c30205a04bf5d684d223e148438af73c?d=identicon)[bteamat](/maintainers/bteamat)

---

Top Contributors

[![solar05](https://avatars.githubusercontent.com/u/38437931?v=4)](https://github.com/solar05 "solar05 (42 commits)")

### Embed Badge

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

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

PHPackages © 2026

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