承接 wmde/configdiff 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

wmde/configdiff

最新稳定版本:1.0.0

Composer 安装命令:

composer require wmde/configdiff

包简介

Show differences between constants defined in PHP files

README 文档

README

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.

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.

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

configdiff TEMPLATE_FILE CONFIGURATION_FILE

Otherwise you call

php vendor/bin/configdiff.php TEMPLATE_FILE CONFIGURATION_FILE

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-2.0
  • 更新时间: 2015-11-02