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

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

triun/diff
==========

Computing diffs and formatting the output.

1.0.0(8y ago)07.9k1MITPHPPHP &gt;=7.0.0

Since Dec 10Pushed 8y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (3)Used By (1)

Diff
====

[](#diff)

[![Latest Version on Packagist](https://camo.githubusercontent.com/68808c3824db0682942bbf83e33dace7b54aa245cea5fcd77c0ea2c31397b0ca/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f747269756e2f646966662e737667)](https://packagist.org/packages/triun/diff)[![Pre Release Version on Packagist](https://camo.githubusercontent.com/eac4e9cf735b26fea56d9e68e4a1a062c5bb997bc0387dbb4bcef01890ab12e0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f767072652f747269756e2f646966662e737667)](https://packagist.org/packages/triun/diff)[![Latest Unstable Version](https://camo.githubusercontent.com/b5bf0379ed4308d1cf6b63f0e912c1bcc752511b22f7a7c75bf4c2e91b1e4665/68747470733a2f2f706f7365722e707567782e6f72672f747269756e2f646966662f762f756e737461626c65)](https://packagist.org/packages/triun/diff)[![Build Status](https://camo.githubusercontent.com/cceb8494b5ea6766e898c1d63952dad9195813d434767c6c879ee3587ef64f64/68747470733a2f2f7472617669732d63692e6f72672f547269756e2f446966662e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/Triun/Diff)[![Total Downloads](https://camo.githubusercontent.com/82c8c7cf47f58bfc7295eb2632cf127ee88fb62f0ca4f9dc8fa79a0a316b9c26/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f747269756e2f646966662e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/triun/diff)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)

Generate Eloquent Model Base for Laravel.

About
=====

[](#about)

TODO

Installation
============

[](#installation)

Require this package with composer using the following command:

```
composer require triun/diff
```

Usage
=====

[](#usage)

TODO

Issues
======

[](#issues)

Bug reports and feature requests can be submitted on the [Github Issue Tracker](https://github.com/Triun/Diff/issues).

Contributing
============

[](#contributing)

See [CONTRIBUTING.md](CONTRIBUTING.md) for information.

License
=======

[](#license)

The Laravel Model Base is open-sourced software licensed under the [MIT license](http://opensource.org/licenses/MIT)

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

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

Total

2

Last Release

3078d ago

### Community

Maintainers

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

---

Tags

diffdiffcompare

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

A customizable deep comparison library.

516.8M10](/packages/icecave-parity)[longman/ip-tools

PHP IP Tools for manipulation with IPv4 and IPv6

147245.6k6](/packages/longman-ip-tools)

PHPackages © 2026

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