thefuntasty/neon-diff
Composer 安装命令:
composer require thefuntasty/neon-diff
包简介
PHP library to compare Neon file against a template
README 文档
README
PHP library to compare Neon file against a template
Installation
composer require thefuntasty/neon-diff
Usage
vendor/bin/neon-diff [template] [neon]
where [neon] is any NEON file and [template] is a template Neon file includes schema and regexps to compare with.
Template
key1: value1 # Exact match
key2: '~^[a-zA-Z0-9_\-]+$~' # Regular expression match, must start and end with `~` character
key3: '~^(value3|value4)$~' # Another example of regular expression match
key4: yes # Boolean support
统计信息
- 总下载量: 855
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2018-03-05