PHPackages                             foodette/yii1-honeypot - 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. [Security](/categories/security)
4. /
5. foodette/yii1-honeypot

ActiveLibrary[Security](/categories/security)

foodette/yii1-honeypot
======================

Yii 1 honeypot / IP checker extension

1.0(7y ago)13MITPHPPHP ^7.1.3

Since Nov 2Pushed 7y ago1 watchersCompare

[ Source](https://github.com/foodette/yii1-honeypot)[ Packagist](https://packagist.org/packages/foodette/yii1-honeypot)[ RSS](/packages/foodette-yii1-honeypot/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Yii 1.1 HoneyPot / IP Checker
=============================

[](#yii-11-honeypot--ip-checker)

[![License](https://camo.githubusercontent.com/d651e75320c84a430c60af33ba24fe7093c195f2c1a3d9147b6300a542e39c40/68747470733a2f2f706f7365722e707567782e6f72672f666f6f64657474652f796969312d686f6e6579706f742f6c6963656e7365)](https://packagist.org/packages/foodette/yii1-honeypot)

HoneyPot extension for Yii 1.1 Framework.

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

[](#installation)

The preferred way to install this extension is through [composer](http://getcomposer.org/download/).

Either run

```
php composer.phar require --prefer-dist foodette/yii1-honeypot "*"

```

or add

```
"foodette/yii1-honeypot": "*"

```

to the require section of your `composer.json` file.

Usage
-----

[](#usage)

Instantiate a `HttpBlackList` object with your `access key`

```
use foodette\extension\yii1-honeypot

$httpBL = new HttpBlackList('youraccesskey');
```

### Check an IP address

[](#check-an-ip-address)

The `check` method will return a boolean indicating wether the IP address is known to have suspicious activity.

```
$httpBL->check('1.2.3.4');
// returns true|false

```

### Query an IP address

[](#query-an-ip-address)

The `query` method will return an array with details about suspicious activity

```
$httpBL->check('1.2.3.4');

```

```
returns [] when IP is ok
returns [
    'lastActivity'  => 12 // number of days since last activity
    'threatScore'   => 39 // threat score on a 0-100 scale
    'type'          => 1  // visitor type bit, e.g. Suspicious|Harvester|Comment spam
] when IP is known to have suspicious activity

```

See [the Project Honey Pot API](https://www.projecthoneypot.org/httpbl_api.php) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2749d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bc2d3ee5fdaa89943be0c3a5f98bf2abf1a64e9f44e81dc06b91ab11cf07a36?d=identicon)[jcasanova](/maintainers/jcasanova)

---

Top Contributors

[![juliencasanova](https://avatars.githubusercontent.com/u/1027644?v=4)](https://github.com/juliencasanova "juliencasanova (5 commits)")

---

Tags

phpyiiHoneypot

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/foodette-yii1-honeypot/health.svg)

```
[![Health](https://phpackages.com/badges/foodette-yii1-honeypot/health.svg)](https://phpackages.com/packages/foodette-yii1-honeypot)
```

###  Alternatives

[stymiee/php-simple-encryption

The PHP Simple Encryption library is designed to simplify the process of encrypting and decrypting data while ensuring best practices are followed. By default is uses a secure encryption algorithm and generates a cryptologically strong initialization vector so developers do not need to becomes experts in encryption to securely store sensitive data.

448.0k](/packages/stymiee-php-simple-encryption)[cleantalk/yii-antispam

Anti-spam yii extension by CleanTalk with protection against spam bots and manual spam.

161.4k](/packages/cleantalk-yii-antispam)[ukrbublik/openssl_x509_crl

Missing OpenSSL function on PHP to create CRL (certificate revocation list) for CA

182.1k](/packages/ukrbublik-openssl-x509-crl)

PHPackages © 2026

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