PHPackages                             eo/honeypot-bundle - 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. eo/honeypot-bundle

ActiveSymfony-bundle[Security](/categories/security)

eo/honeypot-bundle
==================

Honeypot trap for Symfony forms.

v2.3.0(4mo ago)39234.2k↓45.6%22[6 issues](https://github.com/eymengunay/EoHoneypotBundle/issues)MITPHP

Since Jun 2Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/eymengunay/EoHoneypotBundle)[ Packagist](https://packagist.org/packages/eo/honeypot-bundle)[ RSS](/packages/eo-honeypot-bundle/feed)WikiDiscussions master Synced yesterday

READMEChangelog (10)Dependencies (1)Versions (14)Used By (0)

EoHoneypotBundle
================

[](#eohoneypotbundle)

[![Build Status](https://camo.githubusercontent.com/b9678292c4845b5a705d1fa5a6422cbe4fee0220c53b2c089af5bd0a01219212/68747470733a2f2f7472617669732d63692e6f72672f65796d656e67756e61792f456f486f6e6579706f7442756e646c652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/eymengunay/EoHoneypotBundle)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/610db2184f8b9be90ce0514f895fd9a9be6056940aa20fceecff615f5026c41d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f65796d656e67756e61792f456f486f6e6579706f7442756e646c652f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/eymengunay/EoHoneypotBundle/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/997f11eecc4e6b6f4c3097017556cf9de834ae0dd724959f2e42ab0cf0d7436d/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f65796d656e67756e61792f456f486f6e6579706f7442756e646c652f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/eymengunay/EoHoneypotBundle/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/d9c89b5d30000778d65b8b489940fb83aa39686c35a88689e5023e1b072a26f6/68747470733a2f2f706f7365722e707567782e6f72672f656f2f686f6e6579706f742d62756e646c652f762f737461626c652e737667)](https://packagist.org/packages/eo/honeypot-bundle)[![Total Downloads](https://camo.githubusercontent.com/cbd0a1176616ed7385f4201db63d1fd1e658aa544ec18412ced25e9c019a4098/68747470733a2f2f706f7365722e707567782e6f72672f656f2f686f6e6579706f742d62756e646c652f646f776e6c6f6164732e737667)](https://packagist.org/packages/eo/honeypot-bundle)

Honeypot for Symfony2 forms.

What is Honey pot?
------------------

[](#what-is-honey-pot)

> A honey pot trap involves creating a form with an extra field that is hidden to human visitors but readable by robots. The robot fills out the invisible field and submits the form, leaving you to simply ignore their spammy submission or blacklist their IP. It’s a very simple concept that can be implemented in a few minutes and it just works – add them to your contact and submission forms to help reduce spam.

Prerequisites
-------------

[](#prerequisites)

This version of the bundle requires Symfony 5+

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

[](#installation)

### Step 1: Download EoHoneypotBundle using Composer

[](#step-1-download-eohoneypotbundle-using-composer)

Add EoHoneypotBundle to your project by running the command:

```
composer require eo/honeypot-bundle
```

Composer will install the bundle to your project's `vendor/eo` directory.

### Step 2: Enable the bundle

[](#step-2-enable-the-bundle)

If you use Symfony Flex - skip this step. Otherwise, enable the bundle in `bundles.php`:

```
