toastnz/simple-captcha

A simple captcha spam protector

Installs: 168

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 3

Forks: 0

Open Issues: 0

Type:silverstripe-vendormodule

1.0.3 2022-12-12 02:50 UTC

This package is auto-updated.

Last update: 2024-10-12 06:34:15 UTC


README

Simple spam protector field for SilverStripe.

Requirements

  • SilverStripe 4
  • SilverStripe Spam Protection
  • PHP GD

Installation

composer require toastnz/simple-captcha

Set Simple Catcha as the default spam protector in your config.yml

SilverStripe\SpamProtection\Extension\FormSpamProtectionExtension:
  default_spam_protector: Toast\SimpleCaptcha\Forms\SimpleCaptchaProtector

Enable spam protection on the form:

$form->enableSpamProtection();