PHPackages                             vitaliy/php-project-lvl2 - 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. vitaliy/php-project-lvl2

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

vitaliy/php-project-lvl2
========================

php-package-lv2

08PHPCI failing

Since Nov 27Pushed 5y agoCompare

[ Source](https://github.com/kudrvet/php-project-lvl2)[ Packagist](https://packagist.org/packages/vitaliy/php-project-lvl2)[ RSS](/packages/vitaliy-php-project-lvl2/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

php-project-lvl2
================

[](#php-project-lvl2)

[![](https://camo.githubusercontent.com/2b868fff228adbe3ad701b1d2dbab0ce046a7afab51cfcc903b56f3b4fd07b56/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36393937313032353330363066313836386237662f6d61696e7461696e6162696c697479)](https://codeclimate.com/github/kudrvet/php-project-lvl2/maintainability) [![](https://camo.githubusercontent.com/c1a1e9e6ea90ca064acb8f1d5ab08ac9ec5da535473b7059121396f5b1fcd0bb/68747470733a2f2f6170692e636f6465636c696d6174652e636f6d2f76312f6261646765732f36393937313032353330363066313836386237662f746573745f636f766572616765)](https://codeclimate.com/github/kudrvet/php-project-lvl2/test_coverage) [![PHP CI](https://github.com/kudrvet/php-project-lvl2/workflows/PHP%20CI/badge.svg?branch=master)](https://github.com/kudrvet/php-project-lvl2/workflows/PHP%20CI/badge.svg?branch=master)

Setup
-----

[](#setup)

via Composer:

1. global installation to use CLI - utilite.

```
 composer global require vitaliy/php-project-lvl2
```

2. local installation to use as library.

```
composer require vitaliy/php-project-lvl2
```

Description
-----------

[](#description)

The gendiff is cli utilite. It show differ bettween two files (Json and Yaml format supported).
The differ can be shown in different formats.
Support \[ -- pretty(by default)\], \[-- plain\] and \[--json\] output formatters.

Usage
-----

[](#usage)

Usage:

gendiff (-h|--help)
gendiff (-v|--version)
gendiff \[--format \] &lt;firstFile&gt; &lt;secondFile&gt;

Options:

-h --help Show this screen
-v --version Show version
\--format Report format \[default: pretty\]

Examples
--------

[](#examples)

### Pretty and plain formatters

[](#pretty-and-plain-formatters)

[![asciicast](https://camo.githubusercontent.com/f817c45a1d9b8948b23af4ede9d7479e1bbc58fa83f8b5075228da63cd690d4b/68747470733a2f2f61736369696e656d612e6f72672f612f68304e75716369786a75366e614a6e4d546461344a344b6b542e737667)](https://asciinema.org/a/h0Nuqcixju6naJnMTda4J4KkT)

### Json formatter

[](#json-formatter)

[![asciicast](https://camo.githubusercontent.com/fe9984944c59be816e2bf336737e1848ef27e2ee3c3a1d2efdfecf6eb451321e/68747470733a2f2f61736369696e656d612e6f72672f612f6d6554436264777264557263424538694178344c444f7451742e737667)](https://asciinema.org/a/meTCbdwrdUrcBE8iAx4LDOtQt)

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community6

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://avatars.githubusercontent.com/u/25493836?v=4)[Vitaliy Kudryavtsev](/maintainers/kudrvet)[@kudrvet](https://github.com/kudrvet)

---

Top Contributors

[![kudrvet](https://avatars.githubusercontent.com/u/25493836?v=4)](https://github.com/kudrvet "kudrvet (85 commits)")

### Embed Badge

![Health badge](/badges/vitaliy-php-project-lvl2/health.svg)

```
[![Health](https://phpackages.com/badges/vitaliy-php-project-lvl2/health.svg)](https://phpackages.com/packages/vitaliy-php-project-lvl2)
```

###  Alternatives

[symfony/polyfill-php72

Symfony polyfill backporting some PHP 7.2+ features to lower PHP versions

4.8k674.7M31](/packages/symfony-polyfill-php72)[symfony/polyfill-intl-icu

Symfony polyfill for intl's ICU-related data and classes

2.6k251.4M96](/packages/symfony-polyfill-intl-icu)[nette/php-generator

🐘 Nette PHP Generator: generates neat PHP code for you. Supports new PHP 8.5 features.

2.2k64.2M574](/packages/nette-php-generator)[consolidation/site-process

A thin wrapper around the Symfony Process Component that allows applications to use the Site Alias library to specify the target for a remote call.

5345.3M8](/packages/consolidation-site-process)[sycho/flarum-profile-cover

Adds the ability to add a cover image to a profile.

1836.6k](/packages/sycho-flarum-profile-cover)

PHPackages © 2026

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