定制 in2code/powermailrecaptcha 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

in2code/powermailrecaptcha

Composer 安装命令:

composer require in2code/powermailrecaptcha

包简介

Google recaptcha TYPO3 extension for powermail

README 文档

README

Google recaptcha for TYPO3 powermail to prevent spam

Example form with a google recaptcha

Dependencies

Installation

  • Just install this extension via composer composer require in2code/powermailrecaptcha
  • Register your domain to www.google.com/recaptcha/ (registration direct link: https://g.co/recaptcha/v3 - reCAPTCHA, Version 2)
  • Add sitekey and secretkey to TypoScript Constants (see example below)
  • Ensure that spamshield is enabled (see below) and make it mandatory
  • Add a field of Type Google Recaptcha to your powermail form
  • Have fun

Example for TypoScript Constants:

plugin.tx_powermailrecaptcha.sitekey = 6LdsBBUTAAAAAKMhI67inzeAvzBh5JdRRxlCwbTz
plugin.tx_powermailrecaptcha.secretkey = 6LdsBBUTAAAAAKMhaaaainzeAvzBh5JdRRxlCwbyy

Common pitfalls and best practice

spamshield must be enabled in powermail (TypoScript setup):

plugin.tx_powermail.settings.setup.spamshield._enable = 1

Keep up to date if powermail recognize spam (TypoScript setup):

# Get an email if spam was recognized
plugin.tx_powermail.settings.setup.spamshield.email = spamreceiver@yourdomain.de

# Write to a logfile when spam was recognized
plugin.tx_powermail.settings.setup.spamshield.logfileLocation = typo3temp/logs/powermailSpam.log

Early Access Programm for TYPO3 14 support

ℹ️ TYPO3 14 compatibility

See EAP page (DE) or EAP page (EN) for more information how to get access to a TYPO3 14 version

Releases

Detailed changlog (since version 5.2.3)

Version Date Description
13.1.1 2026-05-29 Bugfix Release
13.1.0 2026-03-01 add recaptcha validator (TYPO3 13 only)
13.0.0 2024-12-11 TYPO3 v13 compatibility
5.2.3 2024-12-11 Maintenance Release
5.2.2 2024-08-25 Bugfix to add valid actions - thx to speters
5.2.1 2024-03-30 Support for Powermail 12
5.2.0 2023-12-31 Support for TYPO3 12
5.1.0 2023-05-13 Support for TYPO3 11 / Fix typo in ter-release.yml file
5.0.3 2021-09-25 Fix typo in ter-release.yml file
5.0.2 2021-09-09 Add extension key to composer.json
5.0.1 2020-12-03 Add TYPO3 dependency to ext_emconf.php to make TER upload happy
5.0.0 2020-12-03 Update dependencies for powermail 8.x
4.0.0 2018-11-21 Update dependencies for powermail 7.x
3.0.0 2018-07-13 Update dependencies for powermail 6.x
2.0.0 2018-02-14 Update dependencies for powermail 5.x
1.1.0 2017-11-04 Update dependencies for powermail 4.x
1.0.1 2016-08-06 Activate check only if form has a recaptcha field and not every time, some more stuff in the manual
1.0.0 2016-08-06 Initial upload - have fun

Development

Environment is included. Set it up via:

  • DDEV start
  • Composer install
  • ddev import-db --file=.project/db.sql.gz

Made for TYPO3 13 / powermail 13

API Key V2 for local testing: https://gist.github.com/MehulBawadia/b6c78b4f10d872616b6a4ab458b86863

Branches

"Master " branch is used for development. Releases are tagged within the master branch

in2code/powermailrecaptcha 适用场景与选型建议

in2code/powermailrecaptcha 是一款 基于 PHP 开发的 Composer 扩展包,目前已累计 196.41k 次下载、GitHub Stars 达 9, 最近一次更新时间为 2016 年 10 月 03 日, 在 PHP 生态内属于活跃度较高的组件。

它主要适用于以下技术方向: 「recaptcha」 「captcha」 「typo3」 「powermail」 等业务场景。在实际项目中,围绕这些方向常见需要落地的问题包括:接口对接、性能调优、并发安全、与既有框架(Laravel / ThinkPHP / Yii / Webman 等)的兼容适配,以及生产环境的日志埋点与稳定性保障。

我们在过去多个企业项目中使用过 in2code/powermailrecaptcha 或与其功能相近的方案,如果你在选型或落地过程中遇到问题,例如 版本兼容、二次改造、私有化封装、与内部系统对接、生产 BUG 排查,欢迎联系我们协助评估。

围绕 in2code/powermailrecaptcha 我们能提供哪些服务?
定制开发 / 二次开发

基于 in2code/powermailrecaptcha 在你已有业务上做功能扩展、字段裁剪、UI 适配、与内部账号 / 权限 / 日志系统的深度对接。

BUG 修复 & 性能优化

线上偶发问题、内存泄漏、慢查询、并发异常等排查修复;针对高流量场景做缓存、队列、索引层面的调优。

项目外包 & 长期维护

承接完整的项目从需求 → 设计 → 开发 → 上线 → 长期运维;也可按月提供技术保姆服务。

yvsm@zunyunkeji.com QQ:316430983 微信:yvsm316 西安尊云信息科技 · 专注 PHP / Go / 分布式系统研发

统计信息

  • 总下载量: 196.41k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 9
  • 点击次数: 25
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 9
  • Watchers: 4
  • Forks: 14
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-2.0-or-later
  • 更新时间: 2016-10-03