承接 franktiao/html-diff 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

franktiao/html-diff

Composer 安装命令:

composer require franktiao/html-diff

包简介

Compare two html text and return a merged html text.(对比两个html文本,返回一个合并差异后的html文本)

README 文档

README

Compare two html text and return a merged html text.
对比两个html文本,返回一个合并差异后的html文本

预览 Preview

截图 ScreenshotScreenshot

安装 Installation

composer require franktiao/html-diff

快速开始 Quick start

use htmlDiff\HtmlDiff;

require __DIR__.'/../vendor/autoload.php';

try {
    $diff = new HtmlDiff();
    $res = $diff->diff('Some text old', 'Some text new');
} catch (\Exception $e) {
    print_r($e->getMessage()); die;
}
print_r($res);

更多使用方式请查看 example 目录
For more usage, please see example directory

更新记录 Update record

  • v1.0.0--2020-02-19
    • A 基础版本
  • v1.0.1--2020-02-20
    • F 修复了HtmlDiff对象在单例中获取到脏数据的BUG
  • v1.0.2--2020-02-20
    • F 修复了单边标签(如img)不会对比的BUG
    • A 内置了常用单边标签:imgbrhrlinkmete,不常用的单边标签可调用$htmlDiff->setUnilateralTags()自定义追加

统计信息

  • 总下载量: 242
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 10
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 10
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2020-02-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固