PHPackages                             silverware/recaptcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Security](/categories/security)
4. /
5. silverware/recaptcha

ActiveSilverstripe-vendormodule[Security](/categories/security)

silverware/recaptcha
====================

SilverWare Recaptcha Module.

1.0.0(8y ago)0140BSD-3-ClausePHPPHP &gt;=5.6.0

Since Jan 22Pushed 8y ago1 watchersCompare

[ Source](https://github.com/praxisnetau/silverware-recaptcha)[ Packagist](https://packagist.org/packages/silverware/recaptcha)[ Docs](https://github.com/praxisnetau/silverware-recaptcha)[ RSS](/packages/silverware-recaptcha/feed)WikiDiscussions master Synced 4d ago

READMEChangelogDependencies (2)Versions (2)Used By (0)

SilverWare Recaptcha Module
===========================

[](#silverware-recaptcha-module)

[![Latest Stable Version](https://camo.githubusercontent.com/0471c64caf77bef25390a0e0d012fddf3bf606aca41ea8127112dd831cae07b9/68747470733a2f2f706f7365722e707567782e6f72672f73696c766572776172652f7265636170746368612f762f737461626c65)](https://packagist.org/packages/silverware/recaptcha)[![Latest Unstable Version](https://camo.githubusercontent.com/327a7831621eef6dade8e2e870634735f5024865693665a67dc29e931f8eda07/68747470733a2f2f706f7365722e707567782e6f72672f73696c766572776172652f7265636170746368612f762f756e737461626c65)](https://packagist.org/packages/silverware/recaptcha)[![License](https://camo.githubusercontent.com/049b0f86cc95784d47a238a9387541f17c8386b97d1f26354b7f43c0d11d5677/68747470733a2f2f706f7365722e707567782e6f72672f73696c766572776172652f7265636170746368612f6c6963656e7365)](https://packagist.org/packages/silverware/recaptcha)

Provides a [Google Recaptcha](https://www.google.com/recaptcha) Spam Guard for use with [SilverStripe v4](https://github.com/silverstripe/silverstripe-framework) forms.

Contents
--------

[](#contents)

- [Requirements](#requirements)
- [Installation](#installation)
- [Configuration](#configuration)
- [Issues](#issues)
- [Contribution](#contribution)
- [Attribution](#attribution)
- [Maintainers](#maintainers)
- [License](#license)

Requirements
------------

[](#requirements)

- [SilverStripe Framework v4](https://github.com/silverstripe/silverstripe-framework)
- [SilverWare Spam Guard](https://github.com/praxisnetau/silverware-spam-guard)

Installation
------------

[](#installation)

Installation is via [Composer](https://getcomposer.org):

```
$ composer require silverware/recaptcha

```

Configuration
-------------

[](#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:

```
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](https://www.google.com/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:

```
SilverWare\Recaptcha\Fields\RecaptchaField:
  public_api_key: ''
  private_api_key: ''
```

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:

```
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.

Issues
------

[](#issues)

Please use the [issue tracker](https://github.com/praxisnetau/silverware-recaptcha/issues) for bug reports and feature requests.

Contribution
------------

[](#contribution)

Your contributions are gladly welcomed to help make this project better. Please see [contributing](CONTRIBUTING.md) for more information.

Attribution
-----------

[](#attribution)

- Makes use of [Guzzle](https://github.com/guzzle/guzzle) by [Michael Dowling](https://github.com/mtdowling) and others.

Maintainers
-----------

[](#maintainers)

[![Colin Tucker](https://avatars3.githubusercontent.com/u/1853705?s=144)](https://github.com/colintucker)[![Praxis Interactive](https://avatars2.githubusercontent.com/u/1782612?s=144)](https://www.praxis.net.au)[Colin Tucker](https://github.com/colintucker)[Praxis Interactive](https://www.praxis.net.au)License
-------

[](#license)

[BSD-3-Clause](LICENSE.md) © Praxis Interactive

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3036d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f5d47a59cd183aa3f599c2b66dfce7c79c249c2eacb749f0ac8c38c4ca273d14?d=identicon)[PraxisNetAu](/maintainers/PraxisNetAu)

---

Top Contributors

[![colintucker](https://avatars.githubusercontent.com/u/1853705?v=4)](https://github.com/colintucker "colintucker (1 commits)")

---

Tags

guardprotectionrecaptchasilverstripe-4silverwarespamsilverstriperecaptchaspamprotectionguardsilverware

### Embed Badge

![Health badge](/badges/silverware-recaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/silverware-recaptcha/health.svg)](https://phpackages.com/packages/silverware-recaptcha)
```

###  Alternatives

[exadium/silverstripe-invisible-spam-protection

Very simple anti spam protection based on principle that automated spammers enter bogus information in all form fields. Field is added to form that is hidden using CSS hiding it from human users. Form is only allowed to be submitted if field is empty. Includes an EditableInvisibleSpamField to integrate with the UserForms module.

112.1k](/packages/exadium-silverstripe-invisible-spam-protection)[fruitcakestudio/recaptcha

reCAPTCHA library

1625.5k1](/packages/fruitcakestudio-recaptcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
