thoughtco/statamic-postmark-spamcheck 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

thoughtco/statamic-postmark-spamcheck

最新稳定版本:1.0.1

Composer 安装命令:

composer require thoughtco/statamic-postmark-spamcheck

包简介

Checks form submission content against Postmarks spam check API

README 文档

README

This addon checks any form submission content against the Postmark Spamcheck API.

Installation

Install by composer: composer require thoughtco/statamic-postmark-spamcheck

Configuration

By default all Form Submissions will be checked for the presence of a text or textarea field, and if found a check will be run.

If you want to override this, publish the config:

php artisan vendor:publish --tag=statamic-postmark-spamcheck

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

A basic text email body is passed to the Postmark API, if you want to override this you can publish the view and modify it:

php artisan vendor:publish --tag=statamic-postmark-spamcheck-views

The published file will be found in resources/views/vendor/statamic-postmark-spamcheck

Testing during development

If you want to test responses during development you can use the STATAMIC_POSTMARK_SPAMCHECK_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.

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: Unknown
  • 更新时间: 2024-05-01