koco / mautic-recaptcha-bundle
此插件将reCAPTCHA集成到mautic中。
3.1.0
2021-10-04 07:29 UTC
Requires
- mautic/composer-plugin: ^1.0
This package is auto-updated.
Last update: 2024-09-04 13:32:58 UTC
README
此插件将reCAPTCHA集成到mautic 3和4中。
通过composer安装(首选)
mautic 2(旧版)
仅支持reCaptcha v2。
在mautic安装的主目录中执行composer require koco/mautic-recaptcha-bundle:1.*
。
mautic 3 & 4
支持reCaptcha v2和v3。
在mautic安装的主目录中执行composer require koco/mautic-recaptcha-bundle:3.*
。
通过.zip文件安装
下载.zip文件,将其解压到plugins/
目录中,并将新目录重命名为MauticRecaptchaBundle
。
- mautic 2(旧版)下载:mautic-recaptcha-legacy.zip
- mautic 3 & 4下载:mautic-recaptcha.zip
通过控制台命令php app/console cache:clear --env=prod
清除缓存(可能需要一些时间)或者手动删除app/cache/prod
目录。
配置
导航到插件页面,点击“安装/升级插件”。现在您应该能看到“reCAPTCHA”插件。打开它以配置网站密钥和网站密钥。
在Mautic表单中使用
分数验证
reCAPTCHA将根据0.0到1.0的分数对流量和交互进行排名,1.0表示良好的交互,而接近0.0的分数则表明流量很可能是由机器人生成的。