PHPackages                             rashid2538/php-htmldiff - 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. rashid2538/php-htmldiff

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

rashid2538/php-htmldiff
=======================

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

v1.0(10y ago)73129.9k49[6 issues](https://github.com/rashid2538/php-htmldiff/issues)[14 PRs](https://github.com/rashid2538/php-htmldiff/pulls)GNU General Public License V2PHPPHP &gt;=5.3.0

Since Jun 12Pushed 7mo ago19 watchersCompare

[ Source](https://github.com/rashid2538/php-htmldiff)[ Packagist](https://packagist.org/packages/rashid2538/php-htmldiff)[ Docs](https://github.com/rashid2538/php-htmldiff)[ RSS](/packages/rashid2538-php-htmldiff/feed)WikiDiscussions master Synced today

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

php-htmldiff
============

[](#php-htmldiff)

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

This HTML Diff implementation is a PHP port of the ruby implementation found at .

This is also available in C# at .

License
-------

[](#license)

php-htmldiff is available under \[GNU General Public License, version 2\] ().

###  Health Score

45

—

FairBetter than 91% of packages

Maintenance42

Moderate activity, may be stable

Popularity44

Moderate usage in the ecosystem

Community23

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.2% 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

3674d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/bf3a007856921a05f41768798e181b4712841aeb90e73377a50ae66221184519?d=identicon)[rashid2538](/maintainers/rashid2538)

---

Top Contributors

[![rashid2538](https://avatars.githubusercontent.com/u/207907?v=4)](https://github.com/rashid2538 "rashid2538 (23 commits)")[![adamgoose](https://avatars.githubusercontent.com/u/611068?v=4)](https://github.com/adamgoose "adamgoose (1 commits)")[![faceleg](https://avatars.githubusercontent.com/u/1000759?v=4)](https://github.com/faceleg "faceleg (1 commits)")[![jerray](https://avatars.githubusercontent.com/u/591094?v=4)](https://github.com/jerray "jerray (1 commits)")[![tigris-berlin-mx](https://avatars.githubusercontent.com/u/180308638?v=4)](https://github.com/tigris-berlin-mx "tigris-berlin-mx (1 commits)")

---

Tags

htmlphpphp-htmldiffdiffhtml

### Embed Badge

![Health badge](/badges/rashid2538-php-htmldiff/health.svg)

```
[![Health](https://phpackages.com/badges/rashid2538-php-htmldiff/health.svg)](https://phpackages.com/packages/rashid2538-php-htmldiff)
```

###  Alternatives

[caxy/php-htmldiff

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

21522.3M22](/packages/caxy-php-htmldiff)[spatie/laravel-html

A fluent html builder

8407.5M98](/packages/spatie-laravel-html)[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.

3618.9M1](/packages/mkalkbrenner-php-htmldiff-advanced)[jfcherng/php-diff

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

4785.8M74](/packages/jfcherng-php-diff)[yajra/laravel-datatables-html

Laravel DataTables HTML builder plugin

29110.4M49](/packages/yajra-laravel-datatables-html)[tinymce/tinymce

Web based JavaScript HTML WYSIWYG editor control.

1708.1M121](/packages/tinymce-tinymce)

PHPackages © 2026

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