PHPackages                             backend2-plus/google-captcha-bundle - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. backend2-plus/google-captcha-bundle

ActiveSymfony-bundle[Authentication &amp; Authorization](/categories/authentication)

backend2-plus/google-captcha-bundle
===================================

Google reCAPTCHA bundle for Symfony

v1.3.1(5mo ago)066MITPHPPHP &gt;=8.1

Since Aug 5Pushed 5mo agoCompare

[ Source](https://github.com/sasa1007/googleCaptchaBundle)[ Packagist](https://packagist.org/packages/backend2-plus/google-captcha-bundle)[ Docs](https://github.com/sasa1007/googleCaptchaBundle)[ RSS](/packages/backend2-plus-google-captcha-bundle/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (2)Versions (7)Used By (0)

Google Captcha Bundle
=====================

[](#google-captcha-bundle)

Simple Symfony bundle for Google reCAPTCHA integration.

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

[](#installation)

```
composer require sasa1007/google-captcha-bundle
```

**Note:** After installation, you need to manually configure the bundle as described below.

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

[](#configuration)

Create configuration file `config/packages/google_captcha.yaml`:

```
google_captcha:
    secret: '%env(GOOGLE_CAPTCHA_SECRET)%'
```

Add to your `.env` file:

```
GOOGLE_CAPTCHA_SECRET=your_google_recaptcha_secret_key

```

**Note:** Replace `your_google_recaptcha_secret_key` with your actual Google reCAPTCHA secret key from [Google reCAPTCHA Admin Console](https://www.google.com/recaptcha/admin).

Usage
-----

[](#usage)

```
use BeckUp\GoogleCaptchaBundle\Service\GoogleCaptchaService;

class YourController extends AbstractController
{
    public function someAction(Request $request, GoogleCaptchaService $captchaService)
    {
        $result = $captchaService->verify($request);

        if ($result->success) {
            // reCAPTCHA passed
        } else {
            // reCAPTCHA failed
        }
    }
}
```

Frontend
--------

[](#frontend)

Add Google reCAPTCHA script to your template:

```

```

Uninstallation
--------------

[](#uninstallation)

To remove the bundle:

1. Delete configuration file:

```
rm config/packages/google_captcha.yaml
```

2. Remove from composer:

```
composer remove sasa1007/google-captcha-bundle
```

**Note:** The bundle is automatically unregistered and service definitions are removed when you uninstall the package.

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance70

Regular maintenance activity

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

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

Recently: every ~29 days

Total

6

Last Release

169d ago

PHP version history (2 changes)v1.0.0PHP &gt;=8.0

v1.3.0PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/0875145f1e57998bf8939c94b95f0be2497f307dfb42418a75e8ac90bc7d7ba7?d=identicon)[sasa1007](/maintainers/sasa1007)

---

Top Contributors

[![sasa1007](https://avatars.githubusercontent.com/u/27061283?v=4)](https://github.com/sasa1007 "sasa1007 (12 commits)")

---

Tags

symfonybundlegooglerecaptchacaptcha

### Embed Badge

![Health badge](/badges/backend2-plus-google-captcha-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/backend2-plus-google-captcha-bundle/health.svg)](https://phpackages.com/packages/backend2-plus-google-captcha-bundle)
```

###  Alternatives

[web-auth/webauthn-framework

FIDO2/Webauthn library for PHP and Symfony Bundle.

50570.7k1](/packages/web-auth-webauthn-framework)[scheb/2fa

Two-factor authentication for Symfony applications (please use scheb/2fa-bundle to install)

578630.7k1](/packages/scheb-2fa)[arcanedev/no-captcha

No CAPTCHA (new Google reCAPTCHA) with Laravel support

370730.4k6](/packages/arcanedev-no-captcha)[web-auth/webauthn-symfony-bundle

FIDO2/Webauthn Security Bundle For Symfony

63397.4k6](/packages/web-auth-webauthn-symfony-bundle)[contributte/recaptcha

Google reCAPTCHA for Nette - Forms

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

Easily use Google Recaptcha in CakePHP projects

20112.2k1](/packages/crabstudio-recaptcha)

PHPackages © 2026

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