PHPackages                             pessek/elgg\_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. [Utility &amp; Helpers](/categories/utility)
4. /
5. pessek/elgg\_recaptcha

ActiveElgg-plugin[Utility &amp; Helpers](/categories/utility)

pessek/elgg\_recaptcha
======================

Elgg Recaptcha

v2.0.5(4y ago)04proprietaryPHPPHP &gt;=7.1

Since Jun 2Pushed 4y ago1 watchersCompare

[ Source](https://github.com/rheman/elgg_recaptcha)[ Packagist](https://packagist.org/packages/pessek/elgg_recaptcha)[ RSS](/packages/pessek-elgg-recaptcha/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)DependenciesVersions (3)Used By (0)

Elgg Recaptcha
==============

[](#elgg-recaptcha)

Protect forms with Googles Recaptcha

This plugin provides recaptcha verification that is configurable for specific actions. Actions can be selected through plugin settings. The form for the action will have a recaptcha inserted in the .elgg-foot div if it exists, or just above the last submit input.

Caveat: This only works for a form/action pair that follow the standard Elgg pattern using elgg\_view\_form()

In addition to the standalone usage, this plugin provides a simple view for programmatically inserting a captcha, and a function for validating the response.

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

[](#installation)

Unzip/clone to the mod directory of your Elgg installation.

Sign up for google recaptcha and generate a public/private key pair at

Enable the plugin, enter the keys in the settings, select default rendering settings.

Advanced Usage
--------------

[](#advanced-usage)

A recaptcha can be inserted into any markup with a view

```
echo elgg_view('input/recaptcha');

```

No parameters are necessary, if none are passed the recaptcha will render with the default options stored in the plugin settings. Parameters explicitly passed override defaults.

Optional parameters for the view are:

```
theme: The visual design of the recaptcha ('light' | 'dark')
size: The size of the recaptcha ('normal' | 'compact')
type: Type of challenge to perform ('image' | 'audio')
form: jquery selector of a form to position the recaptcha in eg. '.elgg-form-register'

```

To validate an action use the function

```
\Beck24\ReCaptcha\validate_recaptcha();

```

This function simply returns boolean whether the captcha response is valid. Usage may look something like this

```
// In our action file or action hook
if (!\Beck24\ReCaptcha\validate_recaptcha()) {
    // invalid recaptcha
    elgg_make_sticky_form('my/form');
    register_error(elgg_echo('elgg_recaptcha:message:fail'));
    forward(REFERER);
}

// we passed, proceed with the action

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

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 ~0 days

Total

2

Last Release

1805d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/649b17479d3b3a91bcdbbd05d56d9c55a33e095c8c4412ba6a34fa43bd3aff46?d=identicon)[rhemandaddy](/maintainers/rhemandaddy)

---

Tags

pluginelggrecaptcha

### Embed Badge

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

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

###  Alternatives

[coldtrick/profile_manager

Improved management of user and group profile fields

293.7k1](/packages/coldtrick-profile-manager)[coldtrick/widget_manager

Manage your widgets

214.3k](/packages/coldtrick-widget-manager)[coldtrick/thewire_tools

Extend the functionality of The Wire

133.2k](/packages/coldtrick-thewire-tools)

PHPackages © 2026

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