PHP code example of psecio / iniscan

1. Go to this page and download the library: Download psecio/iniscan library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

psecio / iniscan example snippets


curl -LSs https://box-project.github.io/box2/installer.php | php
php box.phar build

vendor/bin/iniscan scan --path=/path/to/php.ini

vendor/bin/iniscan scan --path=/path/to/php.ini

vendor/bin/iniscan scan --path=/path/to/php.ini --fail-only

vendor/bin/iniscan scan --path=/path/to/php.ini --threshold=ERROR

vendor/bin/iniscan show --path=/path/to/php.ini

vendor/bin/iniscan show --path=/path/to/php.ini --format=json

vendor/bin/iniscan list-tests --path=/path/to/php.ini --format=json

vendor/bin/iniscan show --path=/path/to/php.ini --context=dev