2017 © Pedro Peláez
 

silverstripe-vendormodule recaptcha

SilverWare Recaptcha Module.

image

silverware/recaptcha

SilverWare Recaptcha Module.

  • Monday, January 22, 2018
  • by PraxisNetAu
  • Repository
  • 1 Watchers
  • 0 Stars
  • 64 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 21 % Grown

The README.md

SilverWare Recaptcha Module

Latest Stable Version Latest Unstable Version License, (*1)

Provides a Google Recaptcha Spam Guard for use with SilverStripe v4 forms., (*2)

Contents

Requirements

Installation

Installation is via Composer:, (*3)

$ composer require silverware/recaptcha

Configuration

In order to use Recaptcha as the default spam guard for all forms, you will need to set it as the DefaultSpamGuard in your YAML configuration:, (*4)

SilverStripe\Core\Injector\Injector:
  DefaultSpamGuard:
    class: SilverWare\Recaptcha\Guards\RecaptchaGuard

Additionally, you will need to create public and private API keys via the Google Recaptcha admin. Google refers to these as a "site key" and a "secret", respectively. Once you have created your keys, add them to your YAML configuration:, (*5)

SilverWare\Recaptcha\Fields\RecaptchaField:
  public_api_key: '<your-site-key>'
  private_api_key: '<your-secret>'

Each RecaptchaField has a config array which defines the data attributes for the Recaptcha element. You can define the default config by adding the following to your YAML configuration:, (*6)

SilverWare\Recaptcha\Fields\RecaptchaField:
  default_config:
    theme: dark
    size: compact

This would configure each instance of Recaptcha to use the dark theme and compact size., (*7)

Issues

Please use the issue tracker for bug reports and feature requests., (*8)

Contribution

Your contributions are gladly welcomed to help make this project better. Please see contributing for more information., (*9)

Attribution

Maintainers

Colin Tucker Praxis Interactive
Colin Tucker Praxis Interactive

License

BSD-3-Clause © Praxis Interactive, (*10)

The Versions

22/01 2018

dev-master

9999999-dev https://github.com/praxisnetau/silverware-recaptcha

SilverWare Recaptcha Module.

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe spam guard recaptcha protection silverware

22/01 2018

1.0.0

1.0.0.0 https://github.com/praxisnetau/silverware-recaptcha

SilverWare Recaptcha Module.

  Sources   Download

BSD-3-Clause

The Requires

 

silverstripe spam guard recaptcha protection silverware