Download the PHP package yousha/php-ini-scanner without Composer
On this page you can find all versions of the php package yousha/php-ini-scanner. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download yousha/php-ini-scanner
More information about yousha/php-ini-scanner
Files in yousha/php-ini-scanner
Package php-ini-scanner
Short Description A lightweight CLI tool to audit php.ini configurations against development and production standards.
License GPL-3.0-only
Homepage https://github.com/yousha/php-ini-scanner
Informations about the package php-ini-scanner
PHP INI Scanner
A lightweight CLI tool to audit php.ini configurations against development and production standards.
It compares given settings against industry-standard recommendations for either Development or Production environments.
_Built using SOLID principles, stricttypes=1 and PSR compliance.
Requirements
- PHP 7.4 – 8.*
- Composer >= 2
Screenshots
Installation
Via Composer per project:
Or via Composer globally:
Usage
Scan for Production
Checks for production environment settings:
Or for Windows paths:
Or auto-scan current installed PHP:
Scan for Development
Checks for debugging-friendly settings:
Or for Windows paths:
Or auto-scan current installed PHP:
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.