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

ActiveLibrary[Security](/categories/security)

akiyatkin/recaptcha
===================

v1.0.6(4y ago)04604PHP

Since Mar 31Pushed 4y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (3)Versions (8)Used By (4)

php обёртка для reCAPTCHA Google
================================

[](#php-обёртка-для-recaptcha-google)

После установки по умолчанию отключена. Нужно в конфиг добавить off:false.

Установка
=========

[](#установка)

`composer require akiyatkin/recaptcha:~1`

Использование
=============

[](#использование)

Невидимая проверка на кнопке отправить
--------------------------------------

[](#невидимая-проверка-на-кнопке-отправить)

Справа снизу плавает иконка Google

```
Submit

	domready(function () {
		Event.one('reCAPTCHA', function (){
			grecaptcha.render('recaptcha');
		});
	});
	function onSubmit(token) {
		var div = $('form').submit();
	}

```

Галочка в форме
---------------

[](#галочка-в-форме)

```

	...

	domready(function () {
		Event.one('reCAPTCHA', function (){
			grecaptcha.render('recaptcha');
		});
	});

```

Проверка на сервере
-------------------

[](#проверка-на-сервере)

```
use akiyatkin\recaptcha\reCAPTCHA;

$r = reCAPTCHA.check();
```

Конфиг в data/.infra.json

```
{
	"recaptcha":{
		"off":false,
		"sitekey":"...sitekey...",
		"secret":"...secret..."
	}
}
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity68

Established project with proven stability

 Bus Factor1

Top contributor holds 100% 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 ~204 days

Recently: every ~259 days

Total

7

Last Release

1734d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/341a8ef8a06866ad99b1bbcf0216fd8e331b076b1690a7d992c386192674b787?d=identicon)[akiyatkin](/maintainers/akiyatkin)

---

Top Contributors

[![akiyatkin](https://avatars.githubusercontent.com/u/953753?v=4)](https://github.com/akiyatkin "akiyatkin (19 commits)")

### Embed Badge

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

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

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M212](/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.7M112](/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.7M278](/packages/illuminate-encryption)

PHPackages © 2026

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