PHPackages                             level51/silverstripe-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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. level51/silverstripe-recaptcha

ActiveSilverstripe-module[Validation &amp; Sanitization](/categories/validation)

level51/silverstripe-recaptcha
==============================

Google's new "high-intelligence" reCAPTCHA approach as SilverStripe module/datafield.

0.1.5(9y ago)29.7k1[1 issues](https://github.com/Level51/silverstripe-recaptcha/issues)MITPHPPHP &gt;=5.3.2

Since Aug 18Pushed 9y ago1 watchersCompare

[ Source](https://github.com/Level51/silverstripe-recaptcha)[ Packagist](https://packagist.org/packages/level51/silverstripe-recaptcha)[ RSS](/packages/level51-silverstripe-recaptcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

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

[](#maintainers)

- Julian Scheuchenzuber
- Daniel Kliemsch

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

[](#installation)

```
composer require level51/silverstripe-recaptcha

```

If you don't like composer you can just download and unpack it to the root of your SilverStripe project.

Features
--------

[](#features)

- reCAPTCHA administration via SiteConfig.
- AJAX-Compatibility.
- Integration with *UserForms* module
- Custom CSS classes: `$captcha->setCSS(array('test1', 'test2'));`
- Specify a locale: `$captcha->setLocale('de');`

JavaScript Options
------------------

[](#javascript-options)

- theme: dark, light (default)
- type: audio, image (default)
- size: compact, normal (default)
- tabindex: Decimal (0 is default)
- callback: Is invoked if validation was successful and receives *g-recaptcha-response* as parameter.
- expired-callback: Is invoiked when current captcha session was expired. The user will have to "solve" a new captcha.

Example usage:

```
$captcha = RecaptchaField::create('Captcha');
$captcha->settings('theme', 'dark');
```

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

[](#configuration)

You can set default credentials which will be written in the DB during `dev/build`:

```
Recaptcha:
  key: YOUR_RECAPTCHA_KEY
  secret: YOUR_RECAPTCHA_SECRET
```

Dependencies
------------

[](#dependencies)

- "php": "&gt;=5.3.2"
- "google/recaptcha": "~1.1"

Notes
-----

[](#notes)

- For testing on localhost you may use any credentials.

Checkout
--------

[](#checkout)

-
-
-
-

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance10

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 60.7% 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

Every ~107 days

Total

5

Last Release

3497d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/441f0e8f95c17048417a33f37e35d5ffdd4c07902cbedaf7f5786f4b7c454284?d=identicon)[JZubero](/maintainers/JZubero)

---

Top Contributors

[![JZubero](https://avatars.githubusercontent.com/u/13751426?v=4)](https://github.com/JZubero "JZubero (17 commits)")[![JQuerDenker](https://avatars.githubusercontent.com/u/5973455?v=4)](https://github.com/JQuerDenker "JQuerDenker (7 commits)")[![daziegler](https://avatars.githubusercontent.com/u/16194962?v=4)](https://github.com/daziegler "daziegler (2 commits)")[![axllent](https://avatars.githubusercontent.com/u/1463435?v=4)](https://github.com/axllent "axllent (1 commits)")[![dkliemsch](https://avatars.githubusercontent.com/u/13777159?v=4)](https://github.com/dkliemsch "dkliemsch (1 commits)")

### Embed Badge

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

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

###  Alternatives

[webmozart/assert

Assertions to validate method input/output with nice error messages.

7.6k894.0M1.2k](/packages/webmozart-assert)[stevebauman/purify

An HTML Purifier / Sanitizer for Laravel

5325.6M19](/packages/stevebauman-purify)[ashallendesign/laravel-config-validator

A package for validating your Laravel app's config.

217905.3k5](/packages/ashallendesign-laravel-config-validator)[crazybooot/base64-validation

Laravel validators for base64 encoded files

1341.9M8](/packages/crazybooot-base64-validation)

PHPackages © 2026

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