PHP code example of joshtronic / php-projecthoneypot

1. Go to this page and download the library: Download joshtronic/php-projecthoneypot 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/ */

    

joshtronic / php-projecthoneypot example snippets


$php = new joshtronic\ProjectHoneyPot('_YOUR_API_KEY_');

$results = $php->query('1.2.3.4');
print_r($results);
shell
composer