2017 © Pedro Peláez
 

library ini-diff

PHP library to compare INI file against a template

image

thefuntasty/ini-diff

PHP library to compare INI file against a template

  • Monday, February 26, 2018
  • by radimvaculik
  • Repository
  • 1 Watchers
  • 0 Stars
  • 84 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 27 % Grown

The README.md

ini-diff

PHP library to compare INI file against a template, (*1)

Installation

composer require thefuntasty/ini-diff

Usage

vendor/bin/ini-diff [template] [ini]

where [ini] is any INI file, which could be parsed via PHP parse_ini_file and [template] is a template ini file includes schema and regexps to compare with., (*2)

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 

The Versions

26/02 2018

dev-master

9999999-dev https://github.com/thefuntasty/ini-diff

PHP library to compare INI file against a template

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

by Radim Vaculik

26/02 2018

1.1

1.1.0.0 https://github.com/thefuntasty/ini-diff

PHP library to compare INI file against a template

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

by Radim Vaculik

26/02 2018

1.0

1.0.0.0 https://github.com/thefuntasty/ini-diff

PHP library to compare INI file against a template

  Sources   Download

MIT

The Requires

  • php ^7.1

 

The Development Requires

by Radim Vaculik