dreistromland/typo3-hcaptcha
Composer 安装命令:
composer require dreistromland/typo3-hcaptcha
包简介
TYPO3 Extension to add hCaptcha to EXT:form - The privacy friendly captcha alternative.
README 文档
README
Provides hCaptcha integration for TYPO3 EXT:form.
hCaptcha is a free to use alternative to Google reCaptcha with a bigger focus on privacy. It supports initiatives like PrivacyPass.
For more information, see the hCaptcha website.
Additionally, hCaptcha provides earnings for solved captchas - that can be donated to the Wikimedia foundation automatically (which is the case for the default settings of this extension).
Quick Setup
hCaptcha is configured with a default key to make the setup as easy as possible. It is recommended to create a custom account for your site with hCaptcha and add your own keys.
- Install the extension and activate it
- Include the static template in TypoScript
- Add a
hCaptchaelement to a form
TypoScript Constants
Set the following constants if you are using your own account:
plugin.tx_hcaptcha {
settings {
publicKey = <your-public-key>
privateKey = <your-private-key>
}
}
Environment variables
As an alternative to the TypoScript configuration, you can also use environment variables:
HCAPTCHA_PUBLIC_KEYHCAPTCHA_PRIVATE_KEY
Content Security Policy
If you are using CSP, make sure to adjust them accordingly:
- script-src should include
https://hcaptcha.com, https://*.hcaptcha.com - frame-src should include
https://hcaptcha.com, https://*.hcaptcha.com - style-src should include
https://hcaptcha.com, https://*
Privacy
Make sure to inform your users of your usage of hCaptcha and what that means - especially if you are using the invisible Enterprise version.
For more info see: https://docs.hcaptcha.com/faq
Help & Support
- Issues: https://github.com/dreistromland/typo3-ext-hcaptcha
- Slack: #typo3-cms
Visit our website or read Susi's blog entry about hCaptcha at susi.dev.
Migration from waldhacker/hcaptcha 2.x to dreistromland/typo3-hcaptcha 2.x
dreistrom.land AG has taken over the maintenance of the extension. In this context, the package namespace was changed from waldhacker/hcaptcha to dreistromland/typo3-hcaptcha.
To migrate your project to the new namespace, do something like this:
composer rem waldhacker/hcaptcha && composer req dreistromland/typo3-hcaptcha:^2.0
dreistromland/typo3-hcaptcha 适用场景与选型建议
dreistromland/typo3-hcaptcha 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 49.56k 次下载、GitHub Stars 达 4, 最近一次更新时间为 2024 年 05 月 28 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 dreistromland/typo3-hcaptcha 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 dreistromland/typo3-hcaptcha 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 49.56k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 4
- 点击次数: 25
- 依赖项目数: 1
- 推荐数: 1
其他信息
- 授权协议: GPL-2.0-or-later
- 更新时间: 2024-05-28