suilven/silverstripe-common-forms-spam-protection
Composer 安装命令:
composer require suilven/silverstripe-common-forms-spam-protection
包简介
Provide a one stop shop for protecting common SilverStripe forms with spam protection.
README 文档
README
This currently enables spam protection for the following 2 modules as a one shot solution.
- silverstripe/comments - Add a new comment, reply to a comment
- symbiote/silverstripe-memberprofiles - Member registration
Contents
Installation
Module
composer require suilven/silverstripe-common-forms-spam-protection
Enable Default Spam Protection
Add a file, e.g. app/_config/spamprotection.yml, and add likes of the following:
---
name: mysitespamprotection
---
SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
default_spam_protector: '\Symbiote\SilverStripe\SpamProtection\Honeypot\SpamProtector\HoneypotSpamProtector'
Change the spam protector to your preference.
统计信息
- 总下载量: 14
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 6
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: BSD-3-Clause
- 更新时间: 2019-05-31