PHPackages                             bavix/diff - 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. bavix/diff

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

bavix/diff
==========

Keeping a history of changes is easy

1.0.1(7y ago)030MITPHPCI passing

Since Oct 11Pushed 1y ago1 watchersCompare

[ Source](https://github.com/bavix/diff)[ Packagist](https://packagist.org/packages/bavix/diff)[ RSS](/packages/bavix-diff/feed)WikiDiscussions master Synced 3d ago

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

diff
====

[](#diff)

[![Scrutinizer Code Quality](https://camo.githubusercontent.com/339f1289ebbf30c3810aa6d0bbc862cfc131f03b7e161989dc3c1df0bc71ad11/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f646966662f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/diff/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/739b365e414488f7bc315004dfd63c997a63869ab3248f5ae3be7220e4d98d49/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f646966662f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/diff/?branch=master)[![Build Status](https://camo.githubusercontent.com/e11245174ea000267b1b15ea5b6510716458647c3b808a49ed86173c3c9a82bd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f646966662f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/bavix/diff/build-status/master)[![Code Intelligence Status](https://camo.githubusercontent.com/2b5d7bdc4d902b88aa6f4b2ce63dd40e06a5d2c62b4ab8870db178490447efff/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f62617669782f646966662f6261646765732f636f64652d696e74656c6c6967656e63652e7376673f623d6d6173746572)](https://scrutinizer-ci.com/code-intelligence)

[![Package Rank](https://camo.githubusercontent.com/b28ca5449c471a7fccace177de746c337b08dd3fedd692476a145b7778041fc5/68747470733a2f2f7068707061636b616765732e6f72672f702f62617669782f646966662f62616467652f72616e6b2e737667)](https://packagist.org/packages/bavix/diff)[![Latest Stable Version](https://camo.githubusercontent.com/b5ee818ed8010e1499e5469a3693d4173ddd702f20745bd06349fa85931ddbaf/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f646966662f762f737461626c65)](https://packagist.org/packages/bavix/diff)[![Latest Unstable Version](https://camo.githubusercontent.com/569c23eca60564330271c3b0a8c384079c36ccc096cc461a4f4b57f2b477334e/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f646966662f762f756e737461626c65)](https://packagist.org/packages/bavix/diff)[![License](https://camo.githubusercontent.com/3d1499df3e6cd2270c332a1e76622112cca2dbab6c7f34216513edc85d85a501/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f646966662f6c6963656e7365)](https://packagist.org/packages/bavix/diff)[![composer.lock](https://camo.githubusercontent.com/4e4a850b3b7643843d75a52e60b25962541930527c291f646daedb5d15e2dc31/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f646966662f636f6d706f7365726c6f636b)](https://packagist.org/packages/bavix/diff)

Diff - Keeping a history of changes is easy.

- **Vendor**: bavix
- **Package**: diff
- **Version**: [![Latest Stable Version](https://camo.githubusercontent.com/b5ee818ed8010e1499e5469a3693d4173ddd702f20745bd06349fa85931ddbaf/68747470733a2f2f706f7365722e707567782e6f72672f62617669782f646966662f762f737461626c65)](https://packagist.org/packages/bavix/diff)
- **PHP Version**: 7.0+
- **[Composer](https://getcomposer.org/):** `composer require bavix/diff`

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance31

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 80% 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 ~411 days

Total

2

Last Release

2726d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/266f28651b740a279e636ef42fadcc7d72941c7a4bf9a29c4fd62c72476f0c0e?d=identicon)[REZ1DENT3](/maintainers/REZ1DENT3)

---

Top Contributors

[![rez1dent3](https://avatars.githubusercontent.com/u/5111255?v=4)](https://github.com/rez1dent3 "rez1dent3 (8 commits)")[![dependabot-preview[bot]](https://avatars.githubusercontent.com/in/2141?v=4)](https://github.com/dependabot-preview[bot] "dependabot-preview[bot] (1 commits)")[![mend-bolt-for-github[bot]](https://avatars.githubusercontent.com/in/16809?v=4)](https://github.com/mend-bolt-for-github[bot] "mend-bolt-for-github[bot] (1 commits)")

---

Tags

diffdifferpatchpatcherphpxdiffdiffhistorychangespatchchange

### Embed Badge

![Health badge](/badges/bavix-diff/health.svg)

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

###  Alternatives

[jfcherng/php-diff

A comprehensive library for generating differences between two strings in multiple formats (unified, side by side HTML etc).

4705.1M51](/packages/jfcherng-php-diff)[caxy/php-htmldiff

A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

21520.9M15](/packages/caxy-php-htmldiff)[marcocesarato/php-conventional-changelog

Generate changelogs and release notes from a project's commit messages and metadata and automate versioning with semver.org and conventionalcommits.org

2511.3M109](/packages/marcocesarato-php-conventional-changelog)[localheinz/diff

Fork of sebastian/diff for use with ergebnis/composer-normalize

4637.0M5](/packages/localheinz-diff)[mkalkbrenner/php-htmldiff-advanced

An add-on for the php-htmldiff library for comparing two HTML files/snippets and highlighting the differences using simple HTML.

3517.8M1](/packages/mkalkbrenner-php-htmldiff-advanced)[jbzoo/composer-diff

See what has changed after a composer update.

53888.9k1](/packages/jbzoo-composer-diff)

PHPackages © 2026

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