PHPackages                             php-cs-fixer/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. php-cs-fixer/diff

AbandonedArchivedLibrary

php-cs-fixer/diff
=================

sebastian/diff v3 backport support for PHP 5.6+

v2.0.2(5y ago)974115.8M—1.6%32BSD-3-ClausePHPPHP ^5.6 || ^7.0 || ^8.0

Since Sep 18Pushed 1y ago3 watchersCompare

[ Source](https://github.com/PHP-CS-Fixer/diff)[ Packagist](https://packagist.org/packages/php-cs-fixer/diff)[ Docs](https://github.com/PHP-CS-Fixer)[ RSS](/packages/php-cs-fixer-diff/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (9)Dependencies (2)Versions (11)Used By (2)

PHP-CS-Fixer/diff
=================

[](#php-cs-fixerdiff)

This version is for PHP CS Fixer only! Do not use it!

Code from `sebastian/diff` has been forked a republished by permission of Sebastian Bergmann. Main change is to make the package compatible with older PHP engines. Licenced with BSD-3-Clause @ see LICENSE, copyright (c) Sebastian Bergmann

For questions visit us @

###  Health Score

56

—

FairBetter than 98% of packages

Maintenance36

Infrequent updates — may be unmaintained

Popularity71

Solid adoption and visibility

Community24

Small or concentrated contributor base

Maturity74

Established project with proven stability

 Bus Factor1

Top contributor holds 51% 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 ~129 days

Recently: every ~243 days

Total

10

Last Release

2002d ago

Major Versions

v1.3.0 → v2.0.02018-03-27

PHP version history (3 changes)v1.0.0PHP ^5.6 || &gt;=7.0 &lt;7.2

v1.1.0PHP ^5.6 || ^7.0

v2.0.2PHP ^5.6 || ^7.0 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2716794?v=4)[Dariusz Rumiński](/maintainers/keradus)[@keradus](https://github.com/keradus)

![](https://www.gravatar.com/avatar/0524a540bde007d758f3c9035b95fb6d1e03b34228eed4cf19c1366106fa4e5e?d=identicon)[SpacePossum](/maintainers/SpacePossum)

---

Top Contributors

[![sebastianbergmann](https://avatars.githubusercontent.com/u/25218?v=4)](https://github.com/sebastianbergmann "sebastianbergmann (76 commits)")[![SpacePossum](https://avatars.githubusercontent.com/u/10462973?v=4)](https://github.com/SpacePossum "SpacePossum (40 commits)")[![keradus](https://avatars.githubusercontent.com/u/2716794?v=4)](https://github.com/keradus "keradus (11 commits)")[![whatthejeff](https://avatars.githubusercontent.com/u/306525?v=4)](https://github.com/whatthejeff "whatthejeff (7 commits)")[![djmattyg007](https://avatars.githubusercontent.com/u/489338?v=4)](https://github.com/djmattyg007 "djmattyg007 (3 commits)")[![GrahamCampbell](https://avatars.githubusercontent.com/u/2829600?v=4)](https://github.com/GrahamCampbell "GrahamCampbell (3 commits)")[![nafigator](https://avatars.githubusercontent.com/u/1971423?v=4)](https://github.com/nafigator "nafigator (3 commits)")[![pscheit](https://avatars.githubusercontent.com/u/488189?v=4)](https://github.com/pscheit "pscheit (2 commits)")[![krizalys](https://avatars.githubusercontent.com/u/1499352?v=4)](https://github.com/krizalys "krizalys (2 commits)")[![mimrock](https://avatars.githubusercontent.com/u/779206?v=4)](https://github.com/mimrock "mimrock (1 commits)")[![henriquemoody](https://avatars.githubusercontent.com/u/154023?v=4)](https://github.com/henriquemoody "henriquemoody (1 commits)")

---

Tags

diffunified-diffsdiff

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/php-cs-fixer-diff/health.svg)

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

###  Alternatives

[sebastian/diff

Diff implementation

7.7k901.5M250](/packages/sebastian-diff)[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)[localheinz/diff

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

4637.0M5](/packages/localheinz-diff)[diff/diff

Small standalone library for representing differences between data structures, computing such differences, and applying them as patches

2041.6M12](/packages/diff-diff)[ion-bazan/composer-diff

Compares composer.lock changes and generates Markdown report so you can use it in PR description.

1861.8M3](/packages/ion-bazan-composer-diff)

PHPackages © 2026

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