PHPackages                             jbboehr/dnsbl - 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. jbboehr/dnsbl

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

jbboehr/dnsbl
=============

DNSBL lookup

v0.2.0(8mo ago)11373.9k↓41%3[2 PRs](https://github.com/jbboehr/dnsbl.php/pulls)1PHP-3.01PHPPHP &gt;=7.1CI passing

Since Jan 28Pushed 6mo ago1 watchersCompare

[ Source](https://github.com/jbboehr/dnsbl.php)[ Packagist](https://packagist.org/packages/jbboehr/dnsbl)[ Docs](http://github.com/jbboehr/dnsbl)[ RSS](/packages/jbboehr-dnsbl/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (4)Versions (6)Used By (1)

dnsbl.php
=========

[](#dnsblphp)

[![GitHub Build Status](https://github.com/jbboehr/dnsbl.php/workflows/ci/badge.svg)](https://github.com/jbboehr/dnsbl.php/actions?query=workflow%3Aci)

Simplified version of PEAR's Net\_DNSBL with PEAR dependencies removed.

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

[](#installation)

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

```
{
    "require": {
        "jbboehr/dnsbl": "0.1.*"
    }
}
```

Usage
-----

[](#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
-------

[](#license)

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

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance64

Regular maintenance activity

Popularity43

Moderate usage in the ecosystem

Community14

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 95.2% of commits — single point of failure

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 ~3920 days

Total

2

Last Release

254d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.3.0

v0.2.0PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/ccc4aa01c69052830471c5ba84c4af824796d46d9920dc8574cb6e368281ab79?d=identicon)[jbboehr](/maintainers/jbboehr)

---

Top Contributors

[![jbboehr](https://avatars.githubusercontent.com/u/225601?v=4)](https://github.com/jbboehr "jbboehr (20 commits)")[![ThomasLandauer](https://avatars.githubusercontent.com/u/1054469?v=4)](https://github.com/ThomasLandauer "ThomasLandauer (1 commits)")

---

Tags

dnsblphpdnsbl

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/jbboehr-dnsbl/health.svg)

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

PHPackages © 2026

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