werkbot/werkbot-spam-protection
最新稳定版本:3.0.0
Composer 安装命令:
composer require werkbot/werkbot-spam-protection
包简介
Werkbot Spam Protection Fields
README 文档
README
A silverstripe Spam Module using Honeypot and Timer fields to mark bot submissions
Installation
composer require werkbot/werkbot-spam-protection
Requirements
Setup
To setup as the default spam protection add the following to your mysite/_config/spamprotection.yml file
---
name: mycustomspamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
default_spam_protector: Werkbot\SpamProtection\HoneypotProtector
You can optionally set the time for the Timer Field using the following entry in the same file under the default_spam_protector line where x is the number of seconds
time_not_bot: x
If you plan to alter the sass files you can copy this file and the components folder to your sass directory and update accordingly.
Usage
Documentation
Generate documentation using Doctum:
./vendor/bin/doctum.php update doctum.config.php
View the api documentation:
start doctum_build/index.html
统计信息
- 总下载量: 1.62k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2022-05-16