PHP code example of monovm / abuseai

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

    

monovm / abuseai example snippets

bash
# AbuseIPDB check only
php artisan abuse:check-abuseipdb --all
php artisan abuse:check-abuseipdb --ip=1.2.3.4

# DNSBL check only
php artisan abuse:check-dnsbl --all
php artisan abuse:check-dnsbl --ip=1.2.3.4 --create-cases