PHPackages                             sandritsch91/yii2-honey-pot - 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. sandritsch91/yii2-honey-pot

ActiveYii2-extension[Security](/categories/security)

sandritsch91/yii2-honey-pot
===========================

AntiSpam for Yii2

2.0.3(10mo ago)03171MITPHPPHP &gt;=8.1

Since Jul 4Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/Sandritsch91/yii2-honey-pot)[ Packagist](https://packagist.org/packages/sandritsch91/yii2-honey-pot)[ RSS](/packages/sandritsch91-yii2-honey-pot/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (7)Dependencies (7)Versions (8)Used By (0)

AntiSpam Extension for Yii 2
============================

[](#antispam-extension-for-yii-2)

This extension provides form anti-spam features for the [Yii 2.0 framework](http://www.yiiframework.com).

For license information check the [LICENSE](LICENSE) file.

Documentation is at [docs/index.md](docs/index.md).

Copyright
---------

[](#copyright)

This extension was inspired by [BeastBytes/yii2-anti-spam](https://github.com/beastbytes/yii2-anti-spam)

BeastBytes' extension relies on modifications to the view files to work. If a lot of existing forms are to be modified, this can be a lot of work. This extension aims to provide the same functionality without the need to modify the view files.

To achieve this, this extension uses a custom ActiveField and multiple Traits which extend the default ActiveField / ActiveRecord / Model / DynamicModal classes. The custom ActiveField class adds the necessary hidden fields to the form and the Traits handle the attributes / validation

If extending the default ActiveField class is not an option, BeastBytes' original extension should be used.

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

[](#installation)

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

Either run

```
composer require --prefer-dist sandritsch91/yii2-honey-pot

```

or add

```
"sandritsch91/yii2-honey-pot": "^1.0"
```

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

###  Health Score

35

—

LowBetter than 79% of packages

Maintenance54

Moderate activity, may be stable

Popularity13

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity53

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

Every ~61 days

Recently: every ~88 days

Total

7

Last Release

310d ago

Major Versions

1.1.0 → 2.0.02024-07-25

### Community

Maintainers

![](https://www.gravatar.com/avatar/239a4e22e3970ec416269e7fd1b42b26005057eb971076bb204cb6cd80b5642d?d=identicon)[Sandritsch91](/maintainers/Sandritsch91)

---

Top Contributors

[![Sandritsch91](https://avatars.githubusercontent.com/u/17873124?v=4)](https://github.com/Sandritsch91 "Sandritsch91 (19 commits)")

---

Tags

hashspamyii2Honeypotantispam

### Embed Badge

![Health badge](/badges/sandritsch91-yii2-honey-pot/health.svg)

```
[![Health](https://phpackages.com/badges/sandritsch91-yii2-honey-pot/health.svg)](https://phpackages.com/packages/sandritsch91-yii2-honey-pot)
```

###  Alternatives

[msurguy/honeypot

Honeypot spam prevention

4381.2M12](/packages/msurguy-honeypot)[cleantalk/yii2-antispam

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

1018.0k](/packages/cleantalk-yii2-antispam)

PHPackages © 2026

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