定制 fidilly/gendiff 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

fidilly/gendiff

Composer 安装命令:

composer require fidilly/gendiff

包简介

This library calculates and shows the difference between json or yaml file formats.

README 文档

README

Maintainability Test Coverage Build Status

Gendiff is a library for comparing json or yaml file formats. This library calculates and shows the difference between files.

Installation

Gendiff can be installed globally with Composer or included in a project or library.

Global installation:

composer global require fidilly/gendiff

example:

asciicast

Include:

composer require fidilly/gendiff
use function Differ\Gendiff\gendiff;

gendiff($pathToFile1, $pathToFile2, $format);

Usage via terminal

Help call examples:

gendiff -h
gendiff --help

Gendiff supports multiple output formats.

examples:

gendiff <file1> <file2> ###default 'pretty' format
gendiff --format pretty <file1> <file2>
gendiff --format plain <file1> <file2>
gendiff --format json <file1> <file2>

Usage examples

asciicast

asciicast

asciicast

asciicast

asciicast

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-06-24

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固