PHPackages                             stev/google-recaptcha-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. stev/google-recaptcha-bundle

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

stev/google-recaptcha-bundle
============================

v1.0.2(1y ago)06PHP

Since Jan 20Pushed 1y ago1 watchersCompare

[ Source](https://github.com/stevro/google-recaptcha-bundle)[ Packagist](https://packagist.org/packages/stev/google-recaptcha-bundle)[ RSS](/packages/stev-google-recaptcha-bundle/feed)WikiDiscussions main Synced 1mo ago

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

google-recaptcha-bundle
=======================

[](#google-recaptcha-bundle)

Symfony bundle integrating Google Recaptcha

Install
=======

[](#install)

Run `composer require stev/google-recaptcha-bundle`

Use `$builder ->add('recaptcha', GoogleRecaptchaV2Type::class, []);` in your forms

In your template add the google script and a parser to inject the captcha response

``

` function parseCaptchaResponse(recaptchaReponse) { document.getElementById('test_recaptcha').value = recaptchaReponse; } `

Add the html snippet where you want the captcha to be rendered. Usually in your form before the submit button.

``

Uncomment the following config in config/packages/google\_recaptcha.yaml

`twig: globals: google_recaptcha_site_key: '%google_recaptcha_site_key%'`

Disable on dev
==============

[](#disable-on-dev)

If you want to bypass the validation in dev env then add this env variable `GOOGLE_RECAPTCHA_ENABLED=false`

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance42

Moderate activity, may be stable

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity40

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

Total

3

Last Release

483d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/672e7c6f90e2b0fbc11b73af48ece5b8e536fd2475170b84f93683c0ed24b2b3?d=identicon)[stevro](/maintainers/stevro)

---

Top Contributors

[![stevro](https://avatars.githubusercontent.com/u/4375675?v=4)](https://github.com/stevro "stevro (16 commits)")

### Embed Badge

![Health badge](/badges/stev-google-recaptcha-bundle/health.svg)

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

###  Alternatives

[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[buzz/laravel-google-captcha

Google captcha for Laravel

2071.1M2](/packages/buzz-laravel-google-captcha)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)[beatswitch/lock

A flexible, driver based Acl package for PHP 5.4+

870304.7k2](/packages/beatswitch-lock)[amocrm/amocrm-api-library

amoCRM API Client

182728.5k6](/packages/amocrm-amocrm-api-library)[mageplaza/module-google-recaptcha

Magento 2 Google Recaptcha Extension

341.1M2](/packages/mageplaza-module-google-recaptcha)

PHPackages © 2026

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