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.
Installs: 12 721 802
Dependents: 0
Suggesters: 0
Security: 0
Stars: 35
Watchers: 5
Forks: 48
Open Issues: 1
Requires
- php: >=5.5.0
- caxy/php-htmldiff: >=0.0.6
This package is auto-updated.
Last update: 2024-10-29 04:47:22 UTC
README
An add-on for the php-htmldiff library for comparing two HTML files/snippets and highlighting the differences using simple HTML.
This HTML Diff implementation leverages https://github.com/caxy/php-htmldiff - a PHP port of the ruby implementation found at https://github.com/myobie/htmldiff.
It extends php-htmldiff in a backward compatible way that
- allows to run multiple diffs using the same instance of the class, which eases the integration as a service of dependency injection containers
- provide an interface, which eases the integration as a service of dependency injection containers
- discovers removals or additions of complete HTML sections
License
php-htmldiff-advanced is available under [GNU General Public License, version 2] (http://www.gnu.org/licenses/gpl-2.0.html).