定制 arkadiy/php-project2 二次开发

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

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

arkadiy/php-project2

Composer 安装命令:

composer require arkadiy/php-project2

包简介

A command-line tool educational project

README 文档

README

MaintainabilityBuild Status

Description

A command line utility for generating differences between two configurational files. Supporting file formats:

  • json
  • yaml

This is an educational project for hexlet.

Installation

In order to install and run the utility:

composer global require arkadiy/php-project2

asciicast

Usage

gendiff -h

Generate diff

Usage:
  gendiff (-h|--help)
  gendiff [--format <fmt>] <firstFile> <secondFile>

Options:
  -h --help                     Show this screen
  --format <fmt>                Report format [default: pretty]

It is possible to run the utility directly in the terminal with the command:

composer global require arkadiy/php-project2

It is possible to use the code as a library as well:

use function \Gendiff\genDiff;

Supported config formats

This util supports two different configuration files formats:

  • json
  • yaml

JSON

asciicast

YAML

asciicast

Deep nested configurational files

The util is able to read config files with deep nesting also.

asciicast

Output formats

The output formats are 3:

  • pretty (default format, example is shown in previous videp)
  • plain
  • json

PLAIN FORMAT

asciicast

JSON FORMAT

asciicast

Tests

This project includes unit testing. It is possible to run the tests with:

make test

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: Unknown
  • 更新时间: 2019-06-23

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固