PHPackages                             alantaboev/differ - 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. alantaboev/differ

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

alantaboev/differ
=================

Вычислитель отличий – программа, определяющая разницу между двумя структурами данных в формате yaml или json. Отчет генерируется в виде plain text, stylish и json

v1.0.13(5y ago)012MITPHP

Since Aug 28Pushed 5y ago1 watchersCompare

[ Source](https://github.com/alantaboev/differ)[ Packagist](https://packagist.org/packages/alantaboev/differ)[ RSS](/packages/alantaboev-differ/feed)WikiDiscussions master Synced 3w ago

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

Difference calculator
=====================

[](#difference-calculator)

[![PHP CI](https://github.com/alantaboev/differ/workflows/PHP%20CI/badge.svg)](https://github.com/alantaboev/differ/actions?query=workflow%3A%22PHP+CI%22)[![Maintainability](https://camo.githubusercontent.com/3bd3c09907274f503568183eee0eec696b9cd08be502e843c7593a9b9348ced9/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63633065613933333632663534663463363165642f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/alantaboev/differ/maintainability)[![Test Coverage](https://camo.githubusercontent.com/52a7c7b36b9511153115392fa1866a882b5c203acdb77d2b77f4218b516e75cc/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f63633065613933333632663534663463363165642f746573745f636f766572616765)](https://codeclimate.com/github/alantaboev/differ/test_coverage)

Вычислитель отличий (Difference calculator) – программа, определяющая разницу между двумя структурами данных.

Возможности утилиты:
--------------------

[](#возможности-утилиты)

- Поддержка разных входных форматов: *yaml* и *json*
- Генерация отчета в виде *plain text*, *json* и *pretty* (по умолчанию)

Пример использования:
---------------------

[](#пример-использования)

Для глобальной установки и обновления используйте команду:

```
composer global require alantaboev/differ

```

[![asciicast](https://camo.githubusercontent.com/d00f06f4fe9eb415d15bb0e8d75dbf3e95a3308326a624e691a037d86091bdad/68747470733a2f2f61736369696e656d612e6f72672f612f715630327a633933676f4534504251574573664666347132472e737667)](https://asciinema.org/a/qV02zc93goE4PBQWEsfFf4q2G)

### Сравнение файлов в формате Json

[](#сравнение-файлов-в-формате-json)

[![asciicast](https://camo.githubusercontent.com/28f2dd848a49145020f3ac1d88e5a43bae68d629c3a0b3ef9574c38747bc2788/68747470733a2f2f61736369696e656d612e6f72672f612f4365324a667166644b446738473553476d58687763575431352e737667)](https://asciinema.org/a/Ce2JfqfdKDg8G5SGmXhwcWT15)

### Сравнение файлов в формате Yaml

[](#сравнение-файлов-в-формате-yaml)

[![asciicast](https://camo.githubusercontent.com/6c9dc8d98704e43e7c9346113ec9a6fc4ed5166a5736761dc28e4827c882c739/68747470733a2f2f61736369696e656d612e6f72672f612f304257615535334565414968766e44696e45364a7a667775462e737667)](https://asciinema.org/a/0BWaU53EeAIhvnDinE6JzfwuF)

### Сравнение файлов Json и Yaml с вложенной структурой данных

[](#сравнение-файлов-json-и-yaml-с-вложенной-структурой-данных)

[![asciicast](https://camo.githubusercontent.com/a371ac3f946e9e52d8ac64e231924ca949147ba6744a9428981ba2008a4b81e6/68747470733a2f2f61736369696e656d612e6f72672f612f4549703649315166427244414c41467936744b594737674c6e2e737667)](https://asciinema.org/a/EIp6I1QfBrDALAFy6tKYG7gLn)

### Вывод отчета в виде plain text

[](#вывод-отчета-в-виде-plain-text)

[![asciicast](https://camo.githubusercontent.com/4df684939afb75fee50883e9a921d399f86837b1829972dcdcdb72ee93aebea7/68747470733a2f2f61736369696e656d612e6f72672f612f694236364e796c48724b7058566e326635744a50565a4256332e737667)](https://asciinema.org/a/iB66NylHrKpXVn2f5tJPVZBV3)

### Вывод отчета в формате JSON

[](#вывод-отчета-в-формате-json)

[![asciicast](https://camo.githubusercontent.com/12dbd91070db57bb709833059545e0d7887ae7751ad5e763dc1dd0818f013f30/68747470733a2f2f61736369696e656d612e6f72672f612f6f753839336d3577564478764a536162554d5733356e7378492e737667)](https://asciinema.org/a/ou893m5wVDxvJSabUMW35nsxI)

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

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

13

Last Release

2103d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/67342933?v=4)[Alantaboev](/maintainers/Alantaboev)[@alantaboev](https://github.com/alantaboev)

---

Top Contributors

[![alantaboev](https://avatars.githubusercontent.com/u/67342933?v=4)](https://github.com/alantaboev "alantaboev (45 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/alantaboev-differ/health.svg)

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

###  Alternatives

[friendsoftypo3/content-blocks

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

103519.9k53](/packages/friendsoftypo3-content-blocks)[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.

1189.8k](/packages/rcsofttech-audit-trail-bundle)[blackfire/player

A powerful web crawler and web scraper with Blackfire support

49617.1k](/packages/blackfire-player)[altis/local-server

Local Server module for Altis

18221.6k3](/packages/altis-local-server)[2lenet/crudit-bundle

The easy like Crud'it Bundle.

1616.4k14](/packages/2lenet-crudit-bundle)

PHPackages © 2026

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