2017 © Pedro Peláez
 

library configdiff

Show differences between constants defined in PHP files

image

wmde/configdiff

Show differences between constants defined in PHP files

  • Monday, November 2, 2015
  • by wmde
  • Repository
  • 1 Watchers
  • 0 Stars
  • 4 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

configdiff

configdiff is a command-line tool to compare two PHP configuration files containing configuration values defined as constants. One file being the configuration "template" or "distribution version", the other being the concrete config file. configdiff checks whether both files contain the same constant names and outputs the missing and/or superfluous constant names., (*1)

The script should be called as part of a deployment to guard against missing configuration values, e.g. when new values have been added to the template as part of ongoing development., (*2)

Installation

composer require wmde/configdiff

Running the script

If the vendor/bin path (project-local or global) is in your $PATH, you can just call, (*3)

configdiff TEMPLATE_FILE CONFIGURATION_FILE

Otherwise you call, (*4)

php vendor/bin/configdiff.php TEMPLATE_FILE CONFIGURATION_FILE

The Versions

02/11 2015

dev-master

9999999-dev https://github.com/wmde/configdiff

Show differences between constants defined in PHP files

  Sources   Download

GPL-2.0

The Development Requires

by Gabriel Birke

parser configuration const

02/11 2015

1.0.0

1.0.0.0 https://github.com/wmde/configdiff

Show differences between constants defined in PHP files

  Sources   Download

GPL-2.0

The Development Requires

by Gabriel Birke

parser configuration const