PHPackages                             undkonsorten/typo3-extbase-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. undkonsorten/typo3-extbase-honeypot

ActiveTypo3-cms-extension[Utility &amp; Helpers](/categories/utility)

undkonsorten/typo3-extbase-honeypot
===================================

Honey pot element for extbase object forms

1.1.0(1y ago)11.6k1GPL-2.0+PHP

Since Sep 14Pushed 1y ago4 watchersCompare

[ Source](https://github.com/undkonsorten/typo3-extbase-honeypot)[ Packagist](https://packagist.org/packages/undkonsorten/typo3-extbase-honeypot)[ Docs](https://www.undkonsorten.com)[ RSS](/packages/undkonsorten-typo3-extbase-honeypot/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (8)Used By (1)

TYPO3 Extension extbase\_honeypot
=================================

[](#typo3-extension-extbase_honeypot)

What does it do?
----------------

[](#what-does-it-do)

This extension allows you to add a simple honeypot field to an extbase extension. It can reduce SPAM for a given form but won‘t be able to exclude all bots.

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

[](#installation)

Just require via composer:

```
composer require undkonsorten/typo3-extbase-honeypot
```

Activate the extension for TYPO3 versions prior to 11.

Usage
-----

[](#usage)

### Controller

[](#controller)

[Inject](https://docs.typo3.org/m/typo3/reference-coreapi/main/en-us/ApiOverview/DependencyInjection/Index.html#using-di)`\Undkonsorten\HoneyPot\Service\HoneyPotService` in your controller, eg a `$honeyPotService`.

Then add a call to it before the action that receives the form you want to protect:

```
    public function initializeCreateAction(): void
    {
        $this->honeyPotService->configureHoneyPotForArgument($this->arguments->getArgument('dto'), $this->request->getArgument('dto'), '_hp');
    }

    public function createAction(DTO $dto): ResponseInterface
```

where the `createAction` is the appropriated form action and `dto` is the name of your argument and `_hp` is the name of the fake property for your honeypot field. Just be sure to avoid collisions with existing properties.

### Template

[](#template)

Now add the field to your template like this:

```

```

where `_hp` is the name you chose in your controller. What‘s now left to do is configure your view to look in the right place for the partial, e.g. via **TypoScript**:

```
plugin.tx_myext {
    view.partialRootPaths.42 = EXT:extbase_honeypot/Resources/Private/Partials/
}

```

For showing error message if the field was filled, you can use the example in locallang files: `typo3-extbase-honeypot/Resources/Private/Language/locallang.xlf`Copy the lines with the proper error code to your extensions/site-packge/whatever and change property name if you not use the default `_hp`.

Add f:translate snippet to the used action template.

```

```

Configuration
-------------

[](#configuration)

No further configuration is needed - all you need is now in your code. You can make things like the field name configurable, of course.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance37

Infrequent updates — may be unmaintained

Popularity20

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~152 days

Recently: every ~190 days

Total

6

Last Release

575d ago

Major Versions

0.1.1 → 1.0.02023-12-07

### Community

Maintainers

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

---

Top Contributors

[![kanow](https://avatars.githubusercontent.com/u/16071530?v=4)](https://github.com/kanow "kanow (12 commits)")[![cumuru](https://avatars.githubusercontent.com/u/12487311?v=4)](https://github.com/cumuru "cumuru (4 commits)")

---

Tags

ctypecontentcustom

### Embed Badge

![Health badge](/badges/undkonsorten-typo3-extbase-honeypot/health.svg)

```
[![Health](https://phpackages.com/badges/undkonsorten-typo3-extbase-honeypot/health.svg)](https://phpackages.com/packages/undkonsorten-typo3-extbase-honeypot)
```

###  Alternatives

[symfony/polyfill-ctype

Symfony polyfill for ctype functions

4.0k982.0M125](/packages/symfony-polyfill-ctype)[willdurand/negotiation

Content Negotiation tools for PHP provided as a standalone library.

1.4k122.0M157](/packages/willdurand-negotiation)[ichhabrecht/content-defender

Define allowed or denied content element types in your backend layouts

892.9M22](/packages/ichhabrecht-content-defender)[jarednova/mesh

package to programitcaily create content for WordPress

186.5k5](/packages/jarednova-mesh)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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