PHPackages                             mhoffmann/phpdnsrbl - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. mhoffmann/phpdnsrbl

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

mhoffmann/phpdnsrbl
===================

simple DNSRBL lookup

0.1.1(9y ago)115.0k1PHPPHPPHP &gt;=5.3.0

Since Apr 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/mhoffmann/phpdnsrbl)[ Packagist](https://packagist.org/packages/mhoffmann/phpdnsrbl)[ Docs](http://github.com/mhoffmann/phpdnsrbl)[ RSS](/packages/mhoffmann-phpdnsrbl/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (2)Versions (3)Used By (0)

dnsrbl
======

[](#dnsrbl)

[![](https://camo.githubusercontent.com/b80b594d9d290a42238609ca7e2241b1f77a69187c2ea2187e4e45bcf7f69d8f/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d686f66666d616e6e2f706870646e7372626c2e7376673f6272616e63683d6d6173746572)](https://camo.githubusercontent.com/b80b594d9d290a42238609ca7e2241b1f77a69187c2ea2187e4e45bcf7f69d8f/68747470733a2f2f6170692e7472617669732d63692e6f72672f6d686f66666d616e6e2f706870646e7372626c2e7376673f6272616e63683d6d6173746572)

Simple DNSRBL lookup forked from jbboehr/dnsbl.php

Installation
------------

[](#installation)

With [composer](http://getcomposer.org)

```
{
    "require": {
        "mhoffmann/dnsrbl": "0.1.*"
    }
}
```

Usage
-----

[](#usage)

```
$rbl = new DNSRBL(
    array(
        'dnsbl' => array(
            'sbl.spamhaus.org'
        ),
        'surbl' => array(
            'dbl.spamhaus.org'
        )
    )
);

//checks the surbl
var_export($rbl->isListed('dbltest.com')); echo ";\n";

//checks the dnsbl
var_export($rbl->getListingBlacklists('127.0.0.2')); echo ";\n";
```

```
true;
array (
  0 => 'sbl.spamhaus.org',
);
```

License
-------

[](#license)

This project is licensed under the [PHP license](http://php.net/license/3_01.txt).

###  Health Score

28

—

LowBetter than 52% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity25

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~22 days

Total

2

Last Release

3332d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/409634?v=4)[mhoffmann](/maintainers/mhoffmann)[@mhoffmann](https://github.com/mhoffmann)

---

Tags

dnsblrblsurbl

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mhoffmann-phpdnsrbl/health.svg)

```
[![Health](https://phpackages.com/badges/mhoffmann-phpdnsrbl/health.svg)](https://phpackages.com/packages/mhoffmann-phpdnsrbl)
```

###  Alternatives

[akeneo/pim-community-dev

Akeneo PIM, the future of catalog management is open!

1.0k624.1k86](/packages/akeneo-pim-community-dev)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.1k17.8k](/packages/prestashop-prestashop)[metamodels/core

MetaModels core

10156.4k67](/packages/metamodels-core)[oxid-esales/oxideshop-metapackage-ce

This is OXID eShop compilation metapackage.

13500.5k21](/packages/oxid-esales-oxideshop-metapackage-ce)[jbboehr/dnsbl

DNSBL lookup

11373.9k1](/packages/jbboehr-dnsbl)[contao-community-alliance/dc-general

Universal data container for Contao

1680.8k91](/packages/contao-community-alliance-dc-general)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
