Skip to content

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

License

Notifications You must be signed in to change notification settings

mkalkbrenner/php-htmldiff

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

44 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

php-htmldiff-advanced

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).

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 100.0%