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 today

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 30% 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

2726d 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

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k61.7M839](/packages/drush-drush)[tempest/framework

The PHP framework that gets out of your way.

2.3k37.6k20](/packages/tempest-framework)[jolicode/castor

A lightweight and modern task runner. Automate everything. In PHP.

55344.7k5](/packages/jolicode-castor)[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.

12017.1k](/packages/rcsofttech-audit-trail-bundle)[friendsoftypo3/content-blocks

TYPO3 CMS Content Blocks - Content Types API | Define reusable components via YAML

103574.3k69](/packages/friendsoftypo3-content-blocks)[bnomei/kirby-mcp

A CLI-first MCP server for Kirby CMS

595.6k1](/packages/bnomei-kirby-mcp)

PHPackages © 2026

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