PHPackages                             pear/text\_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. pear/text\_diff

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

pear/text\_diff
===============

Engine for performing and rendering text diffs

v1.2.3(2y ago)2070.9k—8.3%121LGPL-3.0PHP

Since Mar 8Pushed 2y ago9 watchersCompare

[ Source](https://github.com/pear/Text_Diff)[ Packagist](https://packagist.org/packages/pear/text_diff)[ Docs](http://pear.php.net/package/Text_Diff)[ RSS](/packages/pear-text-diff/feed)WikiDiscussions master Synced 1mo ago

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

Text\_Diff
==========

[](#text_diff)

Engine for performing and rendering text diffs

This package provides a text-based diff engine and renderers for multiple diff output formats.

Note

This package has been deprecated and is superseded by `Horde_Text_Diff` at

Links
-----

[](#links)

Homepage[http://pear.php.net/package/Text\_Diff](http://pear.php.net/package/Text_Diff)Bug tracker[http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=Text\_Diff](http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Text_Diff)Unit test status[https://travis-ci.org/pear/Text\_Diff](https://travis-ci.org/pear/Text_Diff)

[![https://travis-ci.org/pear/Text_Diff.svg?branch=stable](https://camo.githubusercontent.com/2df7ddc28b7d80bc8e035feef9fbf83e7137db4744c48243acc0c3118ab2168b/68747470733a2f2f7472617669732d63692e6f72672f706561722f546578745f446966662e7376673f6272616e63683d737461626c65)](https://travis-ci.org/pear/Text_Diff)

###  Health Score

41

—

FairBetter than 89% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity42

Moderate usage in the ecosystem

Community25

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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

Total

2

Last Release

799d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

![](https://www.gravatar.com/avatar/244aa5ea757c09dc227ef8762d2a461d26774995b610c39c252dd12da93ebf2b?d=identicon)[saltybeagle](/maintainers/saltybeagle)

---

Top Contributors

[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (10 commits)")[![mdeweerd](https://avatars.githubusercontent.com/u/1504752?v=4)](https://github.com/mdeweerd "mdeweerd (9 commits)")[![ashnazg](https://avatars.githubusercontent.com/u/100170?v=4)](https://github.com/ashnazg "ashnazg (7 commits)")[![localheinz](https://avatars.githubusercontent.com/u/605483?v=4)](https://github.com/localheinz "localheinz (4 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (4 commits)")[![jboulen](https://avatars.githubusercontent.com/u/5418227?v=4)](https://github.com/jboulen "jboulen (1 commits)")[![mrubinsk](https://avatars.githubusercontent.com/u/66822?v=4)](https://github.com/mrubinsk "mrubinsk (1 commits)")[![thedava](https://avatars.githubusercontent.com/u/7238710?v=4)](https://github.com/thedava "thedava (1 commits)")

---

Tags

difftextPEAR

### Embed Badge

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

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

###  Alternatives

[ckeditor/ckeditor

JavaScript WYSIWYG web text editor.

5234.2M76](/packages/ckeditor-ckeditor)[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)[tinymce/tinymce

Web based JavaScript HTML WYSIWYG editor control.

1697.5M106](/packages/tinymce-tinymce)[lolli42/finediff

PHP implementation of a Fine granularity Diff engine

138.8M3](/packages/lolli42-finediff)[localheinz/diff

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

4637.0M5](/packages/localheinz-diff)

PHPackages © 2026

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