Skip to content

pfitzer/dnsbl

Repository files navigation

CI Code Climate Issue Count Packagist

DNSBL

check ip for blacklisting

install

composer require pfitzer/dnsbl

"require": {
    "pfitzer/dnsbl": "*"
}

usage

$dnsbl = new Dnsbl();

try {
    $result = $dnsbl->lookup('127.0.0.1');
} catch (\InvalidArgumentException $e) {
    # do something
}

contribute

feel free to do so

install dev dependencies

composer install

run unit tests

docker build -t dnsbl
docker run --rm dnsbl