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 3d 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

[marcosh/php-validation-dsl

A DSL for validating data in a functional fashion

483.9k](/packages/marcosh-php-validation-dsl)

PHPackages © 2026

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