PHPackages                             albert1991/php-project-lvl2 - 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. albert1991/php-project-lvl2

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

albert1991/php-project-lvl2
===========================

GenDiff

4.1.3(6y ago)016PHP

Since Aug 7Pushed 6y ago1 watchersCompare

[ Source](https://github.com/Gumarov1991/php-project-lvl2)[ Packagist](https://packagist.org/packages/albert1991/php-project-lvl2)[ RSS](/packages/albert1991-php-project-lvl2/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (6)Versions (12)Used By (0)

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

[](#generate-diff)

[![Build Status](https://camo.githubusercontent.com/8f9cef31456a490c42061bc40121f2f3b7dccbbb9885c1669974cc4e15d1d6c0/68747470733a2f2f7472617669732d63692e6f72672f47756d61726f76313939312f7068702d70726f6a6563742d6c766c312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Gumarov1991/php-project-lvl2)[![Maintainability](https://camo.githubusercontent.com/cb9e1d6b88c55e6fb756f7f11e254c6f5ea84c2705d63cdd909dc81e3ae2723d/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62636465333632646532643136306534306434382f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/Gumarov1991/php-project-lvl2/maintainability)[![Test Coverage](https://camo.githubusercontent.com/c4df5b81dff88f6fb55723c1222be3e1152a138e47d1e35dec3fe6a9dbca282e/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f62636465333632646532643136306534306434382f746573745f636f766572616765)](https://codeclimate.com/github/Gumarov1991/php-project-lvl2/test_coverage)

### Description

[](#description)

'Generate diff' is the application for search differeces in configuration files.

### Install

[](#install)

```
curl -sS https://getcomposer.org/installer | php
php composer.phar global require albert1991/php-project-lvl2

```

### Help

[](#help)

```
gendiff -h

```

### Ussage

[](#ussage)

For examples we have 4 сompared files and 3 result files:

Compared files: [before.json](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/before.json) // [after.json](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/after.json) // [before.yml](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/before.yml) // [after.yml](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/after.yml) //

Result files: [json\_pretty](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/results/json_pretty) // [yml\_json](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/results/yml_json) // [json\_plain](https://github.com/Gumarov1991/php-project-lvl2/blob/master/tests/fixtures/results/json_plain)

[![demo](https://camo.githubusercontent.com/454875e4692bbde2c20d60f440eb8f123a94cda7ac6aa63775cd81c9eb8e431d/68747470733a2f2f61736369696e656d612e6f72672f612f73384453686d49673345754255387a6a754e766a4b4d62474e2e737667)](https://asciinema.org/a/s8DShmIg3EuBU8zjuNvjKMbGN?autoplay=1)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity65

Established project with proven stability

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

Total

11

Last Release

2453d ago

Major Versions

1.1.0 → 2.0.02019-08-09

2.0.0 → 3.0.12019-08-11

3.0.1 → 4.0.02019-08-14

### Community

Maintainers

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

---

Top Contributors

[![Gumarov1991](https://avatars.githubusercontent.com/u/47880288?v=4)](https://github.com/Gumarov1991 "Gumarov1991 (53 commits)")

---

Tags

phpcompareappdifference

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/albert1991-php-project-lvl2/health.svg)

```
[![Health](https://phpackages.com/badges/albert1991-php-project-lvl2/health.svg)](https://phpackages.com/packages/albert1991-php-project-lvl2)
```

###  Alternatives

[hi-folks/data-block

Data class for managing nested arrays and JSON data.

1472.2k](/packages/hi-folks-data-block)[fjw/color-compare

A library for converting colors (Hex, RGB, HSL, CIELAB (LAB), DIN-99) and calculating color distances based on DIN-99.

1310.0k](/packages/fjw-color-compare)

PHPackages © 2026

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