Skip to content

Latest commit

 

History

History
27 lines (21 loc) · 757 Bytes

README.md

File metadata and controls

27 lines (21 loc) · 757 Bytes

docker for php-htmldiff

caxy/php-htmldiff: A library for comparing two HTML files/snippets and highlighting the differences using simple HTML. Includes support for comparing complex lists and tables

how to build

docker build -t php-htmldiff .

how to run

docker run -i -t --privileged -v $PWD/docker-ws:/root --workdir=/root php-htmldiff /bin/bash

how to use

php htmldiff.php old.html new.html > diff.html

screenshot

NOTE

There is a message like below one.(when dokcer build)

Do not run Composer as root/super user! See https://getcomposer.org/root for details