Documentation

Honeypot extends BaseConfig
in package

Table of Contents

Properties

$container  : string
Honeypot container
$containerId  : string
The id attribute for Honeypot container tag
$hidden  : bool
Makes Honeypot visible or not to human
$label  : string
Honeypot Label Content
$name  : string
Honeypot Field Name
$template  : string
Honeypot HTML Template

Properties

$container

Honeypot container

public string $container = '<div style="display:none">{template}</div>'

If you enabled CSP, you can remove style="display:none".

$containerId

The id attribute for Honeypot container tag

public string $containerId = 'hpc'

Used when CSP is enabled.

$hidden

Makes Honeypot visible or not to human

public bool $hidden = true

$label

Honeypot Label Content

public string $label = 'Fill This Field'

$name

Honeypot Field Name

public string $name = 'honeypot'

$template

Honeypot HTML Template

public string $template = '<label>{label}</label><input type="text" name="{name}" value="">'

        
On this page

Search results