forked from chrisboulton/php-diff
-
Notifications
You must be signed in to change notification settings - Fork 4
Home
Gitea edited this page Oct 29, 2021
·
3 revisions
A comprehensive library for generating differences between two hashable objects (strings or arrays). Generated differences can be rendered in all the standard formats including:
- Unified
- Context
- Inline HTML
- Side by Side HTML
- Unified HTML
- Unified Commandline colored output
The logic behind the core of the diff engine (ie, the sequence matcher) is primarily based on the Python difflib package. The reason for doing so is primarily because of its high degree of accuracy.
- PHP 7.2 or greater
- PHP Multibyte String
- jblond/php-cli
If you've found a bug or have an idea for new functionality, feel free to report it on the Issue Tracker. Just search upfront for any related issues.