承接 ngmy/phpinfocmp 相关项目开发

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

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

ngmy/phpinfocmp

Composer 安装命令:

composer require ngmy/phpinfocmp

包简介

PhpinfoComparator is compare two phpinfo() files.

README 文档

README

Build Status Coverage Status

PhpinfoComparator is compare two phpinfo() files.

Requirements

PhpinfoComparator has the following requirements:

  • PHP >= 7.1.0

Installation

Install PhpinfoComparator globally as a system wide by using the Composer:

composer global require ngmy/phpinfocmp

Or alternatively, install PhpinfoComparator locally as part of your project by using the Composer:

composer require ngmy/phpinfocmp

Usage

Compare two phpinfo() files on two remote servers:

phpinfocmp http://server1/phpinfo http://server2/phpinfo > phpinfo_diff.html

Compare two html phpinfo() files on one local machine:

phpinfocmp --fetch-mode1=file --fetch-mode2=file phpinfo1.html phpinfo2.html > phpinfo_diff.html

Compare two text phpinfo() files on one local machine:

phpinfocmp --fetch-mode1=file --fetch-mode2=file --file-format1=text --file-format2=text phpinfo1.txt phpinfo2.txt > phpinfo_diff.html

You can combine different fetch modes and file formats:

phpinfocmp --fetch-mode2=file http://server1/phpinfo phpinfo.html > phpinfo_diff.html
phpinfocmp --fetch-mode1=file --fetch-mode2=file --file-format2=text phpinfo.html phpinfo.txt > phpinfo_diff.html

You can read fetch options from a specified PHP file:

phpinfocmp --fetch-options1=fetch_options.php --fetch-options2=fetch_options.php https://server1/phpinfo https://server2/phpinfo > phpinfo_diff.html

The PHP file must be an array format that can be passed to curl_setopt_array() as following:

<?php

return [
    CURLOPT_SSL_VERIFYPEER => false,
];

License

PhpinfoComparator is open-sourced software licensed under the MIT license.

统计信息

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

GitHub 信息

  • Stars: 4
  • Watchers: 1
  • Forks: 0
  • 开发语言: HTML

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-11-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固