没有合适的资源?快使用搜索试试~ 我知道了~
php-htmldiff:一个用于比较两个HTML文件片段并使用简单HTML突出显示差异的库。 包括对复杂列表和表格进行比较的支...
共71个文件
php:31个
html:20个
json:5个
需积分: 49 3 下载量 53 浏览量
2021-05-01
00:16:57
上传
评论
收藏 549KB ZIP 举报
温馨提示
php-htmldiff php-htmldiff是一个用于比较两个HTML文件/片段并使用简单HTML突出显示差异的库。 此HTML Diff实现是从,并已通过新功能,错误修复和对原始代码的增强进行了修改。 有关这些修改的更多信息,请阅读或查看 。 安装 推荐的安装php-htmldiff的方法是通过 。 通过运行以下命令,需要软件包: composer require caxy/php-htmldiff 这将解决最新的稳定版本。 否则,请安装库并自行设置自动装载器。 与Symfony合作 如果您使用的是Symfony,则可以使用来生活! 用法 use Caxy \ HtmlDiff \ HtmlDiff ; $ htmlDiff = new HtmlDiff ( $ oldHtml , $ newHtml ); $ content = $ htmlDiff -> buil
资源推荐
资源详情
资源评论
收起资源包目录
php-htmldiff-master.zip (71个子文件)
php-htmldiff-master
.scrutinizer.yml 5KB
.github_changelog_generator 23B
lib
Caxy
HtmlDiff
HtmlDiff.php 26KB
LcsService.php 2KB
Preprocessor.php 2KB
Table
TableMatch.php 1KB
TableDiff.php 27KB
RowMatch.php 2KB
TablePosition.php 1KB
DiffRowPosition.php 5KB
TableRow.php 2KB
AbstractTableElement.php 2KB
Table.php 4KB
TableCell.php 861B
Strategy
ListItemMatchStrategy.php 3KB
EqualMatchStrategy.php 270B
MatchStrategyInterface.php 207B
DiffCache.php 2KB
Util
MbStringUtil.php 2KB
Operation.php 563B
AbstractDiff.php 11KB
MatchingBlock.php 720B
ListDiffLines.php 14KB
HtmlDiffConfig.php 11KB
phpunit.xml.dist 855B
demo
load_table_diff.php 535B
diff.json 99KB
bower.json 403B
codes.css 4KB
tablediffs.json 8.6MB
demo.controller.js 6KB
README.md 52B
index.php 1KB
demos.json 138KB
demo.html 13KB
demo.module.js 143B
save_demo.php 1KB
doc
differences.rst 4KB
CONTRIBUTING.md 1KB
LICENSE 17KB
README.md 9KB
tests
fixtures
Performance
paragraphs.html 18KB
paragraphs_expected.html 23KB
paragraphs_changed.html 19KB
HtmlDiff
first-and-last.html 3KB
override-5.html 8KB
override-3.html 5KB
keep-newlines-test.html 849B
simple-list.html 2KB
override-8.html 3KB
new-paragraph-and-list.html 6KB
ICC-5136.html 2KB
issue-28-link-changes.html 574B
override-6.html 7KB
table-whitespace-issue.html 793B
multibyte.html 167B
space-inside-isolated-tag.html 386B
override-4.html 8KB
override-2.html 4KB
override-9.html 2KB
Caxy
Tests
AbstractTest.php 395B
TestInit.php 367B
HtmlDiff
HtmlFileIterator.php 3KB
Functional
HTMLPurifierConfigTest.php 2KB
HtmlDiffFunctionalTest.php 1KB
Performance
PerformanceTest.php 844B
CODE_OF_CONDUCT.md 3KB
.gitignore 79B
phpcs.xml 115B
CHANGELOG.md 15KB
composer.json 1KB
共 71 条
- 1
资源评论
活着奔跑
- 粉丝: 35
- 资源: 4685
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功