2017 © Pedro Peláez
 

library rbl-checker

A PHP library to check IP against SPAM list (DNSRbl by default)

image

edusalguero/rbl-checker

A PHP library to check IP against SPAM list (DNSRbl by default)

  • Friday, January 13, 2017
  • by edusalguero
  • Repository
  • 0 Watchers
  • 0 Stars
  • 21 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 2 Versions
  • 5 % Grown

The README.md

Build Status, (*1)

RBL Checker

Rbl Checker is a simple PHP library to check IP against SPAM list., (*2)

The Facade use the DNS Rbl queryfier to check ips. Currently the library provide a list with 29 DNS Rbl hosts., (*3)

More info about DNSRBL in Wikipedia, (*4)

Usage

```php <?php $configPath = DIR.'/config/config.json';, (*5)

$ip='107.180.4.167'; $checker = \EduSalguero\RblChecker\DnsRblCheckerFacade::create($ip,$configPath); $blacklisted = $checker->blacklisted(); printf('Blacklisted: %s',$blacklisted ? "true" : "false");, (*6)

if($blacklisted){ echo "\n Blacklisted on: ".$checker->getDNSBLDomainName(); }, (*7)

The Versions

13/01 2017

dev-master

9999999-dev

A PHP library to check IP against SPAM list (DNSRbl by default)

  Sources   Download

MIT

The Development Requires

by Avatar edusalguero

13/01 2017

v1.0.0

1.0.0.0

A PHP library to check IP against SPAM list (DNSRbl by default)

  Sources   Download

MIT

The Development Requires

by Avatar edusalguero