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

Abandoned → [contributte/recaptcha](/?search=contributte%2Frecaptcha)ArchivedLibrary[Security](/categories/security)

lookyman/recaptcha
==================

v1.0.2(8y ago)12.2k1MITPHPPHP &gt;=5.5

Since Sep 5Pushed 8y ago1 watchersCompare

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

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

Nette ReCaptcha
===============

[](#nette-recaptcha)

This extension provides integration of [Google reCAPTCHA](https://www.google.com/recaptcha/intro/index.html) into Nette Framework.

[![Build Status](https://camo.githubusercontent.com/70323fb76ed608f5535112f0b7ab3d6931d1cdf06879e4976564014970746f03/68747470733a2f2f7472617669732d63692e6f72672f6c6f6f6b796d616e2f7265636170746368612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/lookyman/recaptcha)[![Downloads](https://camo.githubusercontent.com/4ce1c0d5475f5c15ff2759732488ded82294ea9da8a1ae5a383c25ad44baf8e3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c6f6f6b796d616e2f7265636170746368612e737667)](https://packagist.org/packages/lookyman/recaptcha)[![Latest stable](https://camo.githubusercontent.com/d27beb2f22a40e837e78377c7c19d13a35210b245669f375c12bf1a98be76c71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6c6f6f6b796d616e2f7265636170746368612e737667)](https://packagist.org/packages/lookyman/recaptcha)[![Code Climate](https://camo.githubusercontent.com/b7a38db299e7e50ea325f70f262d7bd46515c599d9a715b8b6c818c6b406439c/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f6c6f6f6b796d616e2f7265636170746368612f6261646765732f6770612e737667)](https://codeclimate.com/github/lookyman/recaptcha)

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

[](#requirements)

lookyman/ReCaptcha requires PHP 5.5 or higher.

- [Nette Framework](https://github.com/nette/nette)

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

[](#installation)

The best way to install lookyman/ReCaptcha is using [Composer](http://getcomposer.org/):

```
$ composer require lookyman/recaptcha
```

You can enable the extension using your neon config:

```
extensions:
	recaptcha: lookyman\ReCaptcha\DI\ReCaptchaExtension
```

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

[](#configuration)

This extension creates new configuration section `recaptcha`, the default configuration looks like this:

```
recaptcha:
	siteKey: ''
	secretKey: ''
	verificationUrl: 'https://www.google.com/recaptcha/api/siteverify'
	errorMessage: 'You appear to be a bot'
	validateRemoteIp: off
	client: []
	theme: 'light'
	type: 'image'
	size: 'normal'
```

You can get your `siteKey` and `secretKey` at the [Google reCAPTCHA](https://www.google.com/recaptcha/intro/index.html) admin page.

The `client` configuration option can pass additional settings to the default [Guzzle](http://guzzlephp.org) client. For example, should you run into the `cURL error 60: SSL certificate problem: unable to get local issuer certificate` error, you can use the `verify: off` option here to disable peer certificate verification.

Additionally, you have to paste the following snippet into your template just before the closing `` tag:

```

```

Usage
-----

[](#usage)

This extension adds a single method into the `Nette\Forms\Container` namespace with the following signature:

```
/**
 * @param string $name Control name
 * @param string|NULL $label Control label
 * @return \lookyman\ReCaptcha\Forms\Controls\ReCaptchaControl
 */
public function addReCaptcha($name, $label = NULL);
```

Adding a reCAPTCHA to your form is then as easy as adding any other control type:

```
protected function createComponentMyReCaptchaForm()
{
	$form = new Nette\Application\UI\Form();
	$form->addReCaptcha('recaptcha', 'You have to solve this before you send the form');
	...
}
```

---

Homepage  and repository .

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

Maturing project, gaining track record

 Bus Factor1

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

###  Release Activity

Cadence

Every ~905 days

Total

2

Last Release

3003d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/f068d60b6e86ba2222bff60b7b27dea830d666a3e2f86eb50d6c1c1c1c8167ad?d=identicon)[lookyman](/maintainers/lookyman)

---

Top Contributors

[![lookyman](https://avatars.githubusercontent.com/u/3863468?v=4)](https://github.com/lookyman "lookyman (9 commits)")[![vanam](https://avatars.githubusercontent.com/u/2945739?v=4)](https://github.com/vanam "vanam (2 commits)")

---

Tags

googlenetterecaptchaform

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[contributte/recaptcha

Google reCAPTCHA for Nette - Forms

421.3M4](/packages/contributte-recaptcha)[phelium/recaptcha

reCAPTCHA v2 class

4389.4k](/packages/phelium-recaptcha)[cakephp-fr/recaptcha

To easily use Google Recaptcha (free CAPTCHA service that protect websites from spam and abuse) in CakePHP projects

1419.3k](/packages/cakephp-fr-recaptcha)[cake17/cakephp-recaptcha

\[DEPRECIATED\] Please use https://github.com/cakephp-fr/recaptcha/

1211.0k1](/packages/cake17-cakephp-recaptcha)

PHPackages © 2026

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