PHPackages                             victor-prdh/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. victor-prdh/recaptcha-bundle

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

victor-prdh/recaptcha-bundle
============================

Use Google Recaptcha v2/v3 as form type with Symfony 6.4+, see v1.X for symfony 5.4

2.1.0(4mo ago)1274.8k↓25.9%3MITPHPPHP &gt;=8.1.0

Since Mar 22Pushed 4mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (8)Versions (19)Used By (0)

VictorPrdhRecaptchaBundle
=========================

[](#victorprdhrecaptchabundle)

[![bundle version](https://camo.githubusercontent.com/9824e8495612d800be135a62f80773aa89209037444cfa83c2f81f92840f53f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d322e312e302d626c7565)](https://camo.githubusercontent.com/9824e8495612d800be135a62f80773aa89209037444cfa83c2f81f92840f53f1/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f76657273696f6e2d322e312e302d626c7565)

Easy implementation of Google Recaptcha with symfony.

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

[](#installation)

Before starting the bundle installation, you need to register reCAPTCHA keys [here](https://www.google.com/recaptcha/admin/create?hl=fr).

Use [composer](https://getcomposer.org) to install this bundle.

```
composer require victor-prdh/recaptcha-bundle
```

### With Symfony flex

[](#with-symfony-flex)

You can quickly configure this bundle by using symfony/flex:

- answer **no** for `google/recaptcha`
- answer **yes** for `victor-prdh/recaptcha-bundle`

If everything is good, you must have the bundle registred in the *"bundles.php"* file of your config folder (*"config/bundles.php"*):

```
//config/bunldes.php
