PHPackages                             anton-shvedov88/difference\_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. anton-shvedov88/difference\_calculator

ActiveProject

anton-shvedov88/difference\_calculator
======================================

project\_2

137PHP

Since Nov 17Pushed 5y ago1 watchersCompare

[ Source](https://github.com/DaaN88/php-project-lvl2)[ Packagist](https://packagist.org/packages/anton-shvedov88/difference_calculator)[ RSS](/packages/anton-shvedov88-difference-calculator/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

[![](https://camo.githubusercontent.com/f15a25d5c44b6a0b2bbbc8ab5f4d588b1db95aa9ee4a397e5bc8bab209d8b55a/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32373963383439346462656436636231376236362f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/DaaN88/php-project-lvl2/maintainability)[![php_сodesniffer](https://github.com/DaaN88/php-project-lvl2/workflows/php_%D1%81odesniffer/badge.svg)](https://github.com/DaaN88/php-project-lvl2/actions)[![](https://camo.githubusercontent.com/32d0574956384a8adee5fc887a427343264a4f7e36fbf0512d32ecffa457d6d0/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f32373963383439346462656436636231376236362f746573745f636f766572616765)](https://codeclimate.com/github/DaaN88/php-project-lvl2/test_coverage)

**Пакет представляет собой консольную программу, определяющую разницу между двумя структурами данных.**

**Возможности программы:**

- поддержка разных входных форматов: yaml и json;
- генерация отчета в виде plain text, pretty и json;

**Установка пакета:**

- глобально: `composer global require anton-shvedov88/difference_calculator`;
- в случае ошибки, при глобальной установке на линуксе (работа пакета проверялась на Debian 10), добавить master-dev:
    `composer global require anton-shvedov88/difference_calculator:master-dev`

**Требования:**

- php-version: от 7.4;
- composer-version: от 1.10.6;

**Примеры работы пакета:**

- сверка плоских json-файлов:
    [![asciicast](https://camo.githubusercontent.com/e46f5f09bb111e2486ac18529c86c0c3dd10ae577c66b053122a5527567375ec/68747470733a2f2f61736369696e656d612e6f72672f612f426958553530336a49755757396a5051445a4178754d4c4d362e737667)](https://asciinema.org/a/BiXU503jIuWW9jPQDZAxuMLM6)
- сверка плоских yaml-файлов:
    [![asciicast](https://camo.githubusercontent.com/2a3ba2b4c37e2d241de6101f163005f0fbf174cb82adc3727038638b7456071f/68747470733a2f2f61736369696e656d612e6f72672f612f335a437572516d5734416733636e42305664414b384745565a2e737667)](https://asciinema.org/a/3ZCurQmW4Ag3cnB0VdAK8GEVZ)
- сверка вложенных json-файлов:
    [![asciicast](https://camo.githubusercontent.com/a61d5cebd94c7451937fdc5da6fba1dd40a0297c73386d6c86d25f412214d66c/68747470733a2f2f61736369696e656d612e6f72672f612f367054466639503750554e377841335970597254464874454a2e737667)](https://asciinema.org/a/6pTFf9P7PUN7xA3YpYrTFHtEJ)
- вывод в plain-формате:
    [![asciicast](https://camo.githubusercontent.com/cb6f2f0815abc0c98051fe5595d88c6805944a3ad3d877cc9c4b85f2c10f5bff/68747470733a2f2f61736369696e656d612e6f72672f612f6c724f5954504d514b50687a5456764b5644676c62557668552e737667)](https://asciinema.org/a/lrOYTPMQKPhzTVvKVDglbUvhU)
- вывод в формате JSON:
    [![asciicast](https://camo.githubusercontent.com/34741c3790e8e514cf5074e837d62b4c85fed6904678d09b02781e5f3e58b0b5/68747470733a2f2f61736369696e656d612e6f72672f612f77496165326145586e486a53546c4b4b6a34456d4d796476642e737667)](https://asciinema.org/a/wIae2aEXnHjSTlKKj4EmMydvd)

###  Health Score

18

—

LowBetter than 8% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity31

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

[![DaaN88](https://avatars.githubusercontent.com/u/56934683?v=4)](https://github.com/DaaN88 "DaaN88 (86 commits)")

### Embed Badge

![Health badge](/badges/anton-shvedov88-difference-calculator/health.svg)

```
[![Health](https://phpackages.com/badges/anton-shvedov88-difference-calculator/health.svg)](https://phpackages.com/packages/anton-shvedov88-difference-calculator)
```

PHPackages © 2026

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