https://github.com/umaumax/php-htmldiff-docker
https://github.com/umaumax/php-htmldiff-docker
docker markdown php-htmldiff
Last synced: about 1 month ago
JSON representation
- Host: GitHub
- URL: https://github.com/umaumax/php-htmldiff-docker
- Owner: umaumax
- Created: 2018-06-29T16:47:44.000Z (almost 8 years ago)
- Default Branch: master
- Last Pushed: 2018-09-25T14:54:49.000Z (over 7 years ago)
- Last Synced: 2025-06-23T13:48:53.606Z (12 months ago)
- Topics: docker, markdown, php-htmldiff
- Language: HTML
- Size: 43 KB
- Stars: 1
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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]( https://github.com/caxy/php-htmldiff )
## 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
```