1. Go to this page and download the library: Download ndrstmr/icap-flow 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/ */
use Ndrstmr\Icap\Config;
$config = new Config(
host: 'icap.example.com',
port: 1344,
socketTimeout: 5.0,
streamTimeout: 30.0,
// Header used by the ICAP server to report infections
virusFoundHeader: 'X-Virus-Name',
);
Loading please wait ...
Before you can download the PHP files, the dependencies should be resolved. This can take some minutes. Please be patient.