承接 yousha/php-ini-scanner 相关项目开发

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

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

yousha/php-ini-scanner

最新稳定版本:1.0.3.3

Composer 安装命令:

composer create-project yousha/php-ini-scanner

包简介

A lightweight CLI tool to audit php.ini configurations against development and production standards.

README 文档

README

A lightweight CLI tool to audit php.ini configurations against development and production standards.

current version PHP PHP issues repo size GitHub license

It compares given settings against industry-standard recommendations for either Development or Production environments.

Built using SOLID principles, strict_types=1 and PSR compliance.

Requirements

  1. PHP 7.4 – 8.*
  2. Composer >= 2

Screenshots

Screenshot

Installation

Via Composer per project:

composer require yousha/php-ini-scanner

Or via Composer globally:

composer global require yousha/php-ini-scanner

Usage

Scan for Production

Checks for production environment settings:

php ./vendor/bin/php-ini-scanner scan -p -i /path/to/php.ini

Or for Windows paths:

php ./vendor/bin/php-ini-scanner scan -p -i "C:\Programs\PHP\php.ini"

Or auto-scan current installed PHP:

php ./vendor/bin/php-ini-scanner scan -p

Scan for Development

Checks for debugging-friendly settings:

php ./vendor/bin/php-ini-scanner scan -d -i /path/to/php.ini

Or for Windows paths:

php ./vendor/bin/php-ini-scanner scan -d -i "C:\Programs\PHP\php.ini"

Or auto-scan current installed PHP:

php ./vendor/bin/php-ini-scanner scan -d

Commands

Option Shortcut Description
--production -p Uses production rule set.
--development -d Uses development rule set.
--ini-path -i Path to php.ini file.

License

This open-source software is distributed under the GPL-3.0 license. See LICENSE file.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: GPL-3.0-only
  • 更新时间: 2025-12-20