PHPackages                             kritik94/diff-calculator - 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. kritik94/diff-calculator

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

kritik94/diff-calculator
========================

cli utility for calculate diff

v0.3.0(7y ago)08MITPHP

Since Feb 27Pushed 7y agoCompare

[ Source](https://github.com/kritik94/project-lvl2-s427)[ Packagist](https://packagist.org/packages/kritik94/diff-calculator)[ RSS](/packages/kritik94-diff-calculator/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (6)Dependencies (5)Versions (7)Used By (0)

project-lvl1-s426
=================

[](#project-lvl1-s426)

[![Maintainability](https://camo.githubusercontent.com/630b251bca80f384dde67b3fc3489939addbd6364640157f0aff60e2f24547d4/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66633165323230363336646266373565666630612f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/kritik94/project-lvl2-s427/maintainability)[![Test Coverage](https://camo.githubusercontent.com/ed85ee1d53820e8595823f207719be81a7389f7513c831845ab12cb47b9db1ca/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f66633165323230363336646266373565666630612f746573745f636f766572616765)](https://codeclimate.com/github/kritik94/project-lvl2-s427/test_coverage)[![Build Status](https://camo.githubusercontent.com/0d4793a3e2550bdb6aaafbc05c4ad85fa149a15cc175ae31f5419ab2a95e692d/68747470733a2f2f7472617669732d63692e6f72672f6b726974696b39342f70726f6a6563742d6c766c322d733432372e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/kritik94/project-lvl2-s427)

### Installation

[](#installation)

Install throught composer

```
composer global require "kritik94/diff-calculator"

```

[![asciicast](https://camo.githubusercontent.com/223dbec90db633e3e6fd604f376fea3bf148ce4442e46f8004d8676b17a36294/68747470733a2f2f61736369696e656d612e6f72672f612f4256736c57517a75533552347253665870315a6e6c6a3870772e737667)](https://asciinema.org/a/BVslWQzuS5R4rSfXp1Znlj8pw)

Generate difference for json files

```
gendiff before.json after.json

```

[![asciicast](https://camo.githubusercontent.com/b7989f7d5d8cb5261f4ed8735b8bb36286659798d93dfe7a6cf7d8289037966e/68747470733a2f2f61736369696e656d612e6f72672f612f3444735a5759615a384671314153746641795747444c5838722e737667)](https://asciinema.org/a/4DsZWYaZ8Fq1AStfAyWGDLX8r)

And for yaml works too

```
gendiff before.yml after.yml

```

[![asciicast](https://camo.githubusercontent.com/d055e8cc56e496a0e671cf1c06fbc969027e292aff50c5867afbd6c7bf0ec530/68747470733a2f2f61736369696e656d612e6f72672f612f4656346f6e58543556574c495158726c6f716748394f3252692e737667)](https://asciinema.org/a/FV4onXT5VWLIQXrloqgH9O2Ri)

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity55

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

Total

6

Last Release

2681d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9081155?v=4)[Nikita Arkhipov](/maintainers/kritik94)[@kritik94](https://github.com/kritik94)

---

Top Contributors

[![kritik94](https://avatars.githubusercontent.com/u/9081155?v=4)](https://github.com/kritik94 "kritik94 (15 commits)")

---

Tags

clidiff

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[n98/magerun2

Tools for managing Magento projects and installations

926245.1k6](/packages/n98-magerun2)[guanguans/ai-commit

Automagically generate conventional git commit message with AI. - 使用 AI 自动生成约定式 git 提交信息。

39631.4k10](/packages/guanguans-ai-commit)[rcsofttech/audit-trail-bundle

Enterprise-grade, high-performance Symfony audit trail bundle. Automatically track Doctrine entity changes with split-phase architecture, multiple transports (HTTP, Queue, Doctrine), and sensitive data masking.

1175.2k](/packages/rcsofttech-audit-trail-bundle)

PHPackages © 2026

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