PHPackages                             mralejandro/diff - 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. [CLI &amp; Console](/categories/cli)
4. /
5. mralejandro/diff

ActiveProject[CLI &amp; Console](/categories/cli)

mralejandro/diff
================

Generates diff between specified resources

v0.0.6(7y ago)0131MITPHPPHP &gt;=7.1.0

Since Nov 12Pushed 7y agoCompare

[ Source](https://github.com/ElHexio/project-lvl2-s361)[ Packagist](https://packagist.org/packages/mralejandro/diff)[ RSS](/packages/mralejandro-diff/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (8)Used By (0)

### HEXLET level 2 project: Diff generator

[](#hexlet-level-2-project-diff-generator)

[![Build Status](https://camo.githubusercontent.com/033d2b8b082bd1261371ead03c6003a15aecf68d15adc8722dd79e161fd6a9ea/68747470733a2f2f7472617669732d63692e6f72672f456c486578696f2f70726f6a6563742d6c766c322d733336312e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/ElHexio/project-lvl2-s361)

[![Maintainability](https://camo.githubusercontent.com/022beba2e006aa5e5fe549336adc3839fe66ec8b65db57591e50c605d139fae8/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63396638613165653839353463303230636563622f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/ElHexio/project-lvl2-s361/maintainability)[![Test Coverage](https://camo.githubusercontent.com/e9f000f7e6faf7438514ff1f26ba8453d19aaa859772777fe1f079b559a15af7/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63396638613165653839353463303230636563622f746573745f636f766572616765)](https://codeclimate.com/github/ElHexio/project-lvl2-s361/test_coverage)

### Installation

[](#installation)

[![asciicast](https://camo.githubusercontent.com/9fe6da57cde25d7c7958d940a0e2d7cf0a2a03c0dc382c97bd0a89a8c89c5257/68747470733a2f2f61736369696e656d612e6f72672f612f79656a30723150356350767265684f4b364874346f716352622e737667)](https://asciinema.org/a/yej0r1P5cPvrehOK6Ht4oqcRb)

### Flat JSON pretty diff example

[](#flat-json-pretty-diff-example)

[![asciicast](https://camo.githubusercontent.com/4fca73f425d6667a33a44990fb27747bb7ff0c3093dd737619fd054880b9b4a1/68747470733a2f2f61736369696e656d612e6f72672f612f5a5762654151434b6362726b386b396372475338456e507a632e737667)](https://asciinema.org/a/ZWbeAQCKcbrk8k9crGS8EnPzc)

### Flat YAML prety diff example

[](#flat-yaml-prety-diff-example)

[![asciicast](https://camo.githubusercontent.com/7809a0ec560c1dfa6f07c063b2f36273386d0e150d44c98e8bd2f1024ee4ec6a/68747470733a2f2f61736369696e656d612e6f72672f612f454c4371436d50486736786a626641756c436643624b7967452e737667)](https://asciinema.org/a/ELCqCmPHg6xjbfAulCfCbKygE)

### Nested JSON pretty diff example

[](#nested-json-pretty-diff-example)

[![asciicast](https://camo.githubusercontent.com/9aca4ce17541b75f1936b76e054e2e52f90a1e02d0849f887f18b35dafc33980/68747470733a2f2f61736369696e656d612e6f72672f612f57504e74694a7965717939393151437a79326242344c4b556b2e737667)](https://asciinema.org/a/WPNtiJyeqy991QCzy2bB4LKUk)

### Nested JSON plain diff example

[](#nested-json-plain-diff-example)

[![asciicast](https://camo.githubusercontent.com/f46999b7ac4400288946ff72b69039462603d9cbf0fd2ea824339ee024fcb65e/68747470733a2f2f61736369696e656d612e6f72672f612f67324f4d4e4f4e707247393349705731776d53744d5a4f30452e737667)](https://asciinema.org/a/g2OMNONprG93IpW1wmStMZO0E)

### Nested JSON json output diff example

[](#nested-json-json-output-diff-example)

[![asciicast](https://camo.githubusercontent.com/d94f082ab96e13c979dc7fe87d98c10b2a60fc8ce7d86d099ee5607e8873875e/68747470733a2f2f61736369696e656d612e6f72672f612f50514b59726b314237624458577944674c785736394359375a2e737667)](https://asciinema.org/a/PQKYrk1B7bDXWyDgLxW69CY7Z)

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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

Total

6

Last Release

2729d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7f8c3bc110330d8d0c1c41d46e6e08b80f245474fb3c5a82aa2cb7fe24c54d23?d=identicon)[MrAlejandro](/maintainers/MrAlejandro)

---

Top Contributors

[![ElHexio](https://avatars.githubusercontent.com/u/44154262?v=4)](https://github.com/ElHexio "ElHexio (6 commits)")

---

Tags

consolediff

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mralejandro-diff/health.svg)

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

###  Alternatives

[drupal/console-core

Drupal Console Core

13514.7M12](/packages/drupal-console-core)[joomlatools/console

This command-line script helps to ease the management of Joomla sites in your development environment.

11142.4k4](/packages/joomlatools-console)

PHPackages © 2026

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