imi/magento2-friendly-captcha
Composer 安装命令:
composer require imi/magento2-friendly-captcha
包简介
Friendly Captcha integration for Magento2
README 文档
README
Installing on Magento 2
1a. Install using composer
From command line:
composer require imi/magento2-friendly-captcha
php bin/magento module:enable IMI_FriendlyCaptcha
php bin/magento setup:upgrade
1b. Or: Install via Marketplace
The module is also available via Adobe Commerce Marketplace. After going through the free checkout process, you can install via composer:
composer require friendly-captcha/magento2-friendly-captcha
php bin/magento module:enable IMI_FriendlyCaptcha
php bin/magento setup:upgrade
Remark: The composer name is different from the GitHub version. Otherwise the module is identical.
2. Generate site key
https://friendlycaptcha.com/signup
3. Enable and configure from your Magento backend config
Stores > Configuration > Security > Friendly Captcha
Frontend
IMI_FriendlyCaptcha adds a Friendly Captcha widget to:
- Login
- Register
- Contact form
- Forgot password
- Send to Friend
- Newsletter signup*
- Product Reviews
*If you are not using the Magento Newsletter function, please disable the Newsletter Captcha in the settings - otherwise it would still be loaded on each page and later removed via JavaScript.
GraphQL Contact Mutation
Magento's contactUs GraphQL mutation is not protected by the normal Friendly Captcha frontend widget flow. This can lead to SPAM.
If you want to block that bypass completely, enable:
Stores > Configuration > Security > Friendly Captcha > Frontend > Disable GraphQL contactUs mutation
Requirements
- PHP >= 8.1
- Magento >= 2.4.6
Security Scan
This module is accepted by the Magento security scan by Adobe, which normally looks for Google ReCAPTCHA, i.e. replacing the ReCAPTCHA with the Friendly Captcha should not trigger any false positives.
Development
See DEVELOPMENT.md for details on how to contribute to this module.
imi/magento2-friendly-captcha 适用场景与选型建议
imi/magento2-friendly-captcha 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 128.76k 次下载、GitHub Stars 达 19, 最近一次更新时间为 2021 年 04 月 27 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 imi/magento2-friendly-captcha 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 imi/magento2-friendly-captcha 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 128.76k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 19
- 点击次数: 16
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: OSL-3.0
- 更新时间: 2021-04-27