PHP code example of itgalaxy / bin-check

1. Go to this page and download the library: Download itgalaxy/bin-check 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/ */

    

itgalaxy / bin-check example snippets


use Itgalaxy\BinCheck\BinCheck;

try {
    $binCheck = new BinCheck('path/to/bin', ['--help']);
    $binCheck->check();
} catch (\Exception $exception) {
    echo $exception->message;
}