jbboehr / dnsbl
DNSBL lookup
Installs: 278 850
Dependents: 1
Suggesters: 0
Security: 0
Stars: 10
Watchers: 3
Forks: 3
Open Issues: 1
Requires
- php: >=5.3.0
This package is auto-updated.
Last update: 2024-11-28 01:43:10 UTC
README
Simplified version of PEAR's Net_DNSBL with PEAR dependencies removed.
Installation
With composer
{ "require": { "jbboehr/dnsbl": "0.1.*" } }
Usage
$dnsbl = new \DNSBL\DNSBL(array( 'blacklists' => array( 'bl.spamcop.net' ) )); var_export($dnsbl->isListed('127.0.0.2')); echo ";\n"; var_export($dnsbl->getListingBlacklists('127.0.0.2')); echo ";\n";
true; array ( 0 => 'bl.spamcop.net', );
License
This project is licensed under the PHP license.