PHPackages                             mediawiki/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. mediawiki/recaptcha

ActiveMediawiki-extension[Security](/categories/security)

mediawiki/recaptcha
===================

Adds Google reCaptcha integration

72163[3 issues](https://github.com/vedmaka/Mediawiki-reCaptcha/issues)[1 PRs](https://github.com/vedmaka/Mediawiki-reCaptcha/pulls)PHP

Since Aug 29Pushed 6y ago2 watchersCompare

[ Source](https://github.com/vedmaka/Mediawiki-reCaptcha)[ Packagist](https://packagist.org/packages/mediawiki/recaptcha)[ RSS](/packages/mediawiki-recaptcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

reCaptcha extension for MediaWiki
---------------------------------

[](#recaptcha-extension-for-mediawiki)

reCaptcha extension that simply integrate google new reCaptcha into Mediawiki.

On Packagist: [![Latest Stable Version](https://camo.githubusercontent.com/ce70cbaf22c05abeee70c678931a59eb0d83d3634c5fe056c189cb8dba92f0af/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f7265636170746368612f76657273696f6e2e706e67)](https://packagist.org/packages/mediawiki/recaptcha)[![Latest Stable Version](https://camo.githubusercontent.com/4c7650f91103e074ab7d8a09a63a21a6275c92183d4bf724c17663e0d27a20eb/68747470733a2f2f706f7365722e707567782e6f72672f6d6564696177696b692f7265636170746368612f642f746f74616c2e706e67)](https://packagist.org/packages/mediawiki/recaptcha)

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

[](#requirements)

- [PHP](http://www.php.net) 5.1 or later
- [MediaWiki](https://www.mediawiki.org) 1.22 or later
- Installation via [Composer](http://getcomposer.org/)

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

[](#installation)

The recommended way to install the reCaptcha extension is with [Composer](http://getcomposer.org) using [MediaWiki 1.22 built-in support for Composer](https://www.mediawiki.org/wiki/Composer). MediaWiki versions prior to 1.22 can use Composer via the [Extension Installer](https://github.com/JeroenDeDauw/ExtensionInstaller/blob/master/README.md)extension.

##### Step 1

[](#step-1)

If you have previously installed Composer skip to step 2.

To install Composer:

```
wget http://getcomposer.org/composer.phar

```

##### Step 2

[](#step-2)

Now using Composer, install reCaptcha.

If you do not have a composer.json file yet, copy the composer-example.json file to composer.json. If you are using the ExtensionInstaller, the file to copy will be named example.json, rather than composer-example.json. When this is done, run:

```
php composer.phar require mediawiki/recaptcha "@dev"

```

##### Verify installation success

[](#verify-installation-success)

Go to Special:Version and see if "reCaptcha" is listed there. If it is, you successfully installed it!

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

[](#configuration)

If you do not have any reCaptcha keys, you should go to [reCaptcha site](https://www.google.com/recaptcha) and receive own keys for your domain name. After this step, you should open LocalSettings.php file in your Mediawiki installation directory and add few lines to bottom of file:

```
$wgReCaptchaKey = 'your-recaptcha-key';
$wgReCaptchaSecret = 'your-recaptcha-secret';

```

Where *your-recaptcha-key* and *your-recaptcha-secret* should be replaced with your actual values.

Usage
-----

[](#usage)

Navigate to account creation page (you should be logged-out from your account), you should see reCaptcha there. Also, this extension will ask users to fill captcha on page edit, **if user did not confirmed email address** yet.

Release notes
-------------

[](#release-notes)

### 0.1 (under development)

[](#01-under-development)

- Initial release

Links
-----

[](#links)

- [reCaptcha on Packagist](https://packagist.org/packages/mediawiki/recaptcha)
- [reCaptcha on MediaWiki.org](https://www.mediawiki.org/wiki/Extension:reCaptcha)
- [Latest version of the readme file](https://github.com/vedmaka/Mediawiki-reCaptcha/blob/master/README.md)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance11

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 65.2% 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/bfa0b884c7078fb560aecc8f0f496740e89b9b0bf467c3e3597b52fece985b76?d=identicon)[vedmaka](/maintainers/vedmaka)

---

Top Contributors

[![vedmaka](https://avatars.githubusercontent.com/u/592009?v=4)](https://github.com/vedmaka "vedmaka (15 commits)")[![kghbln](https://avatars.githubusercontent.com/u/1104078?v=4)](https://github.com/kghbln "kghbln (7 commits)")[![simison](https://avatars.githubusercontent.com/u/87168?v=4)](https://github.com/simison "simison (1 commits)")

---

Tags

mediawikimediawiki-extensionphprecaptcha

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)

PHPackages © 2026

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