hl46000 / dnsbl

check ip for blacklisting

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Build Status codecov 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

phpunit --configuration phpunit.xml

About

check ip for blacklisting

License:MIT License


Languages

Language:PHP 100.0%