PHP code example of minfraud / http
1. Go to this page and download the library: Download minfraud/http 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/ */
minfraud / http example snippets
uts = array(
"license_key" => "YOUR_LICENSE_KEY_HERE",
"i" => "24.24.24.24",
"city" => "New York",
"region" => "NY",
"postal" => "11434",
"country" => "US",
// Other inputs from http://dev.maxmind.com/minfraud/
);
$ccfs = new CreditCardFraudDetection;
$ccfs->input($inputs);
$ccfs->query();
$outputs = $ccfs->output();
print_r($outputs);
bash
curl -sS https://getcomposer.org/installer | php