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

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

jasonbradley/speedy-diff
========================

Quickly generate a diff of two files.

0.1(10y ago)2271[1 PRs](https://github.com/jasonbradley/speedy-diff/pulls)Apache-2.0PHPPHP &gt;=5.3.0

Since Jun 15Pushed 9y ago3 watchersCompare

[ Source](https://github.com/jasonbradley/speedy-diff)[ Packagist](https://packagist.org/packages/jasonbradley/speedy-diff)[ Docs](http://github.com/jasonbradley/speedy-diff)[ RSS](/packages/jasonbradley-speedy-diff/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)DependenciesVersions (2)Used By (0)

speedy-diff [![alt tag](https://camo.githubusercontent.com/273e4251ca87eee4749b377d1ced9add2edc9477b15f8a1c071be925794d5b24/68747470733a2f2f7472617669732d63692e6f72672f6a61736f6e627261646c65792f7370656564792d646966662e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/273e4251ca87eee4749b377d1ced9add2edc9477b15f8a1c071be925794d5b24/68747470733a2f2f7472617669732d63692e6f72672f6a61736f6e627261646c65792f7370656564792d646966662e7376673f6272616e63683d6d6173746572)
====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#speedy-diff-)

Compare two files with diff and create a file from the difference.

Installation via Composer:

composer require jasonbradley/speedy-diff:dev-master

Usage:

$speedyDiff = new \\JasonBradley\\SpeedyDiff\\SpeedyDiff($file1, $file2);

echo $speedyDiff-&gt;getDiffOutput();

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 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

Unknown

Total

1

Last Release

3990d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/7b9e4f238cb5a6366013e74903e9f87d8b4ebf33cd3f66136cf37b982d0cb1bb?d=identicon)[jasonbradley](/maintainers/jasonbradley)

---

Top Contributors

[![jasonbradley](https://avatars.githubusercontent.com/u/1060978?v=4)](https://github.com/jasonbradley "jasonbradley (11 commits)")

---

Tags

diffcompare files

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/jasonbradley-speedy-diff/health.svg)](https://phpackages.com/packages/jasonbradley-speedy-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.

21320.9M15](/packages/caxy-php-htmldiff)[localheinz/diff

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

4737.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)[lolli42/finediff

PHP implementation of a Fine granularity Diff engine

138.8M3](/packages/lolli42-finediff)

PHPackages © 2026

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