aplia/ezpublish-recaptcha
Composer 安装命令:
composer require aplia/ezpublish-recaptcha
包简介
An ezPublish datatype attribute for objects that require recaptcha validation.
README 文档
README
reCAPTCHA Module =========================== reCAPTCHA is an extension that allows the integration of the reCAPTCHA anti-spam CAPTCHA service in your eZ publish content objects. reCAPTCHA provides a reCAPTCHA datatype that can be used in editing content and information collection. reCAPTCHA provides both text and audio CAPTCHAs. About reCAPTCHA --------------- Over 60 million CAPTCHAs are solved every day by people around the world. reCAPTCHA channels this human effort into helping to digitize books from the Internet Archive. When you solve a reCAPTCHA, you help preserve literature by deciphering a word that was not readable by computers. reCAPTCHA is a project of the School of Computer Science at Carnegie Mellon University. From: https://developers.google.com/recaptcha/ Original author: Bruce Morrison Fork author: rb@aplia.no Aplia Fork ---------- Modified version of the original reCAPTCHA module. Uses reCAPTCHA v2 to verify InformationCollecting content objects Installation ----------------- Follow these steps to add the reCAPTCHA module to your eZ publish installation: 1) Extract the archive into the /extension directory 2) Edit site.ini.append in /settings/override. Add the following to the file: [ExtensionSettings] ActiveExtensions[]=ezpublish-recaptcha If you already have the [ExtensionSettings] block, just add the second line. 3) Visit https://www.google.com/recaptcha/admin to signup and get your own API keys 4) Edit project.ini and add your API keys [Site] RecaptchaSecret=your secret key RecaptchaSiteKey=your public key 5) Clear Cache Usage ---------------- To use, simply add a reCAPTCHA attribute and InformationCollection attribute to your content class and render the reCaptcha HTML by calling recaptcha_get_html() in your template. recaptcha_get_html($key = null) PS! ---------------- By default this extension will also require reCAPTCHA input on edits done to the object itself in eZPublish. To bypass this, you can edit which siteaccess will be allowed through without checking for reCAPTCHA. Edit your project.ini and add the following: [Recaptcha] AllowedSiteaccess=allowed siteaccess or [Recaptcha] AllowedSiteaccess[] AllowedSiteaccess[]=first allowed AllowedSiteaccess[]=second allowed License ----------------- This file may be distributed and/or modified under the terms of the "GNU General Public License" version 2 as published by the Free Software Foundation This file is provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. The "GNU General Public License" (GPL) is available at http://www.gnu.org/copyleft/gpl.html.
aplia/ezpublish-recaptcha 适用场景与选型建议
aplia/ezpublish-recaptcha 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 5 次下载、GitHub Stars 达 0, 最近一次更新时间为 2021 年 12 月 08 日, 在 PHP 生态内属于活跃度较高的组件。
我们在过去多个企业项目中使用过 aplia/ezpublish-recaptcha 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。
基于 aplia/ezpublish-recaptcha 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。
线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。
承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。
统计信息
- 总下载量: 5
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL
- 更新时间: 2021-12-08