PHPackages                             sam-costigan/areyouahuman - 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. sam-costigan/areyouahuman

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

sam-costigan/areyouahuman
=========================

The Are You a Human Module allows use of the Are You a Human Spam Protection game as both a FormField type (AYAHField) and as the default Spam Protector when integrated with the Spam Protection Module.

0192[2 PRs](https://github.com/Sam-Costigan/areyouahuman/pulls)PHP

Since Sep 16Pushed 10y ago1 watchersCompare

[ Source](https://github.com/Sam-Costigan/areyouahuman)[ Packagist](https://packagist.org/packages/sam-costigan/areyouahuman)[ RSS](/packages/sam-costigan-areyouahuman/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

silverstripe-areyouahuman
=========================

[](#silverstripe-areyouahuman)

Original by stozze
------------------

[](#original-by-stozze)

Adapted for SpamProtector by SDC
--------------------------------

[](#adapted-for-spamprotector-by-sdc)

Usage
-----

[](#usage)

Add the root folder called "areyouahuman" in the root of your Silverstripe installation. Make sure to rename it to "areyouahuman" if it is not already named so.

In your site \_config.php you can set the publisher and scoring keys like this:

```
AYAHField::$publisher_key = 'your publisher key';
AYAHField::$scoring_key = 'you scoring key';

```

If you want the Are You a Human field to be the automatic Spam Protection field, also add the following line to your \_config.php:

```
SpamProtectorManager::set_spam_protector('AYAHProtector');

```

After you have configured your keys, add AYAHField to the forms you want validated via the "Are you a human"-service ([www.areyouahuman.com](http://www.areyouahuman.com)). Something like this:

```
$formFields->push(new AYAHField());

```

You must have registered an account at [www.areyouahuman.com](http://www.areyouahuman.com) to be able to use their service. It's *free*!

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

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

### Community

Maintainers

![](https://www.gravatar.com/avatar/06aa68153ec88a2559a45cc265c28b1e83af2da1a12ea927af3f4ceb67d161ec?d=identicon)[Sam-Costigan](/maintainers/Sam-Costigan)

---

Top Contributors

[![mikeyc7m](https://avatars.githubusercontent.com/u/6045159?v=4)](https://github.com/mikeyc7m "mikeyc7m (7 commits)")[![Sam-Costigan](https://avatars.githubusercontent.com/u/2160222?v=4)](https://github.com/Sam-Costigan "Sam-Costigan (2 commits)")

### Embed Badge

![Health badge](/badges/sam-costigan-areyouahuman/health.svg)

```
[![Health](https://phpackages.com/badges/sam-costigan-areyouahuman/health.svg)](https://phpackages.com/packages/sam-costigan-areyouahuman)
```

###  Alternatives

[webmozart/assert

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

7.6k894.0M1.2k](/packages/webmozart-assert)[bensampo/laravel-enum

Simple, extensible and powerful enumeration implementation for Laravel.

2.0k15.9M104](/packages/bensampo-laravel-enum)[swaggest/json-schema

High definition PHP structures with JSON-schema based validation

48612.5M73](/packages/swaggest-json-schema)[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)
