Rbl Checker is a simple PHP library to check IP against SPAM list.
The Facade use the DNS Rbl queryfier to check ips. Currently the library provide a list with 29 DNS Rbl hosts.
More info about DNSRBL in Wikipedia
<?php
$configPath = __DIR__.'/config/config.json';
$ip='107.180.4.167';
$checker = \EduSalguero\RblChecker\DnsRblCheckerFacade::create($ip,$configPath);
$blacklisted = $checker->blacklisted();
printf('Blacklisted: %s',$blacklisted ? "true" : "false");
if($blacklisted){
echo "\n Blacklisted on: ".$checker->getDNSBLDomainName();
}