rattler / honeypot-bundle
Rattler Honeypot Bundle
Package info
github.com/jrattue/HoneypotBundle
Type:symfony-bundle
pkg:composer/rattler/honeypot-bundle
2.0.1
2016-06-15 15:39 UTC
Requires
- php: >=5.3.3
- symfony/form: ~2.3|~3.0
- symfony/framework-bundle: ~2.3|~3.0
- symfony/validator: ~2.3|~3.0
This package is auto-updated.
Last update: 2026-03-11 06:32:57 UTC
README
A Symfony bundle that provides a very simple invisible Honeypot form type
For Symfony 2 use version 1.0.
Installation
Add bundle to composer.json
"require": {
// ...
"rattler/honeypot-bundle": "~2.0",
}
Enable RattlerHoneypotBundle
// config/bundles.php
return [
// ...
Rattler\HoneypotBundle\RattlerHoneypotBundle::class => ['all' => true],
];
Usage
Add the following to to an existing form.
$builder->add('text', HoneypotType::class);
The name of the field can be changed to anything (generic names seems to work better).