thezenmonkey/newrecaptcha

Spam Protector using Google's New 'I am not a robot' reCAPTCHA

dev-master 2015-01-17 05:28 UTC

This package is auto-updated.

Last update: 2024-03-26 08:29:13 UTC


README

SpamProtector Module that uses Google's new reCaptcha the field. The 'I am not a robot' checkbox.

Requirements

Installation

Unzip to your project and add the following to your config.yml

---
name: spamprotection
---
FormSpamProtectionExtension:
  default_spam_protector: NoCaptchaProtector
NoCaptchaField:
  PublicKey : '<Your Public Key>'
  PrivateKey: '<Your Private Key>'

if you omit the CaptchaAPI it declaration it will default to 'demo' providing you with a smaller subset of questions for testing

To Do

  • Enable more robust PHP validation
  • Unit Test (if I get around to learning them)