定制 thoughtco/statamic-stop-forum-spam 二次开发

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

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

thoughtco/statamic-stop-forum-spam

最新稳定版本:1.2.0

Composer 安装命令:

composer require thoughtco/statamic-stop-forum-spam

包简介

Checks form submissions against stop forum spam

README 文档

README

This addon checks the Stop Forum Spam API for the presence of the IP or Email from your Form submissions.

Installation

Install by composer: composer require thoughtco/statamic-stop-forum-spam

Configuration

By default all Form Submissions will be checked for the presence of a text field with a type of email field, and if found a check will be run. It fallsback to checking for a field of any type with a fallback handle that you can specify in the config.

If you want to override this, publish the config:

php artisan vendor:publish --tag=statamic-stop-forum-spam

You then have the option to specify an array of specific forms to check, what field handle to check for and whether you want to fail silently.

Testing during development

If you want to test responses during development you can use the STATAMIC_STOP_FORUM_SPAM_TEST_MODE env value.

Setting it to disable will prevent the addon from running.

Setting it to fail with throw a validation error, or fail silently, depending on what the fail_silently config value is set to.

统计信息

  • 总下载量: 72
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 3
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-02-16