PHPackages                             nerijusza/yamldiff - 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. nerijusza/yamldiff

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

nerijusza/yamldiff
==================

Spot the differences between two YAML files. Forked from 'mattketmo/yamldiff'

v1.0.2(7y ago)02.5kMITPHP

Since Mar 10Pushed 7y agoCompare

[ Source](https://github.com/nerijusza/yamldiff)[ Packagist](https://packagist.org/packages/nerijusza/yamldiff)[ RSS](/packages/nerijusza-yamldiff/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (2)Dependencies (4)Versions (6)Used By (0)

YamlDiff
========

[](#yamldiff)

[![Build status...](https://camo.githubusercontent.com/e91b3429052acd2d628b52bec3d4b337baf8b785c23ce827d3d3e10c0167e423/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4d6174744b65746d6f2f79616d6c646966662e7376673f7374796c653d666c6174)](http://travis-ci.org/MattKetmo/yamldiff)[![Code quality...](https://camo.githubusercontent.com/bb0f20fe7733ae3348402341625c3f791668ece3a7a5fcaabb0987c3b6bcac2c/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4d6174744b65746d6f2f79616d6c646966662e7376673f7374796c653d666c6174)](https://scrutinizer-ci.com/g/MattKetmo/yamldiff/)[![License MIT](https://camo.githubusercontent.com/db79b92834d905629b1aea42c9aa493da02060189e2af90840b1be5d6bf6ddf7/687474703a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c6174)](https://github.com/MattKetmo/yamldiff/blob/master/LICENSE)[![Packagist](https://camo.githubusercontent.com/bed6942eaf0358fde4c9cd51937449a454a5408dcc6d37a4dc6d54e33a522973/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6174746b65746d6f2f79616d6c646966662e7376673f7374796c653d666c6174)](https://packagist.org/packages/mattketmo/yamldiff)

Spot the differences between 2 yaml files.

Installation
------------

[](#installation)

Build the PHAR file using [Box Project](http://box-project.org/).

```
# Fetch the sources
git clone git://github.com/MattKetmo/yamldiff.git
cd yamldiff/

# Install dependencies (see https://getcomposer.org/doc/00-intro.md#globally)
composer install

# Build the Phar (see http://box-project.org/)
box build

# Move it to your $PATH
mv yamldiff.phar /usr/local/bin/yamldiff
```

Usage
-----

[](#usage)

```
yamldiff file1.yml file2.yml
```

This will show the keys which are present on `file1.yml` and missing on `file2.yml` (prefixed by a `+`), and vice versa (prefixed by a `-`).

For instance, this can be really usefull when comparing your local file `parameters.yml` with the versionned one `parameters.yml.dist` on a [Symfony](http://symfony.com) project:

```
yamldiff app/config/parameters.yml.dist app/config/parameters.yml
```

License
-------

[](#license)

YamlDiff is released under the MIT License. See the [bundled LICENSE file](LICENSE) for details.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity16

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity67

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

Total

5

Last Release

2887d ago

Major Versions

v0.2 → v1.0.02014-09-14

### Community

Maintainers

![](https://www.gravatar.com/avatar/447cb320246b289b921ca0f9eba7afecbee793c5ea5cd502ca0fa0b8043c0120?d=identicon)[nerijusza](/maintainers/nerijusza)

---

Top Contributors

[![MattKetmo](https://avatars.githubusercontent.com/u/334996?v=4)](https://github.com/MattKetmo "MattKetmo (28 commits)")

### Embed Badge

![Health badge](/badges/nerijusza-yamldiff/health.svg)

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

###  Alternatives

[symfony/maker-bundle

Symfony Maker helps you create empty commands, controllers, form classes, tests and more so you can forget about writing boilerplate code.

3.4k111.1M564](/packages/symfony-maker-bundle)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5205.3M81](/packages/symplify-monorepo-builder)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[drupal/core-recommended

Locked core dependencies; require this project INSTEAD OF drupal/core.

6939.5M340](/packages/drupal-core-recommended)

PHPackages © 2026

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