tms/hcaptcha
最新稳定版本:1.2.0
Composer 安装命令:
composer require tms/hcaptcha
包简介
hCaptcha form element for Neos.Form
README 文档
README
Sick of using Google reCAPTCHA in your sites?
We too. Gladly, there is an alternative, which respects data privacy (at least according to https://www.hcaptcha.com/privacy) and improves performance. This package provides a hCaptcha form element for Neos.Form & Neos.Form.Builder.
By default, the hCaptcha widget will be rendered only on form interaction.
Install
composer require tms/hcaptcha
Usage
1.) Create a free hCaptcha account https://dashboard.hcaptcha.com/signup
2.) Get the siteKey and secret from your hCaptcha account and pass them to your Settings.yaml
# Configuration/Settings.yaml Tms: Hcaptcha: siteKey: '%env:TMS_HCAPTCHA_SITE_KEY%' secret: '%env:TMS_HCAPTCHA_SECRET%'
Note: In Development context we automatically set the test key set (see https://docs.hcaptcha.com/#integration-testing-test-keys)
3.) Add the form element to your form configuration
prototype(Vendor.PackageName:MyForm) < prototype(Neos.Form.Builder:Form) {
firstPage.elements {
hcaptcha = Tms.Hcaptcha:Captcha.Definition
}
}
Acknowledgments
Development sponsored by tms.development - Online Marketing and Neos CMS Agency
统计信息
- 总下载量: 2.12k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 1
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: Unknown
- 更新时间: 2021-06-30