PHPackages                             phpmob/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. [Security](/categories/security)
4. /
5. phpmob/recaptcha-bundle

ActiveLibrary[Security](/categories/security)

phpmob/recaptcha-bundle
=======================

Spam protect with google reCAPTCHA

1.1.1(8y ago)0169MITPHPPHP ^5.5.9|^7.0.8

Since Dec 21Pushed 8y ago1 watchersCompare

[ Source](https://github.com/phpmob/recaptcha-bundle)[ Packagist](https://packagist.org/packages/phpmob/recaptcha-bundle)[ Docs](http://github.com/phpmob/recaptcha-bundle)[ RSS](/packages/phpmob-recaptcha-bundle/feed)WikiDiscussions master Synced 2w ago

READMEChangelog (5)Dependencies (7)Versions (6)Used By (0)

PhpMobReCaptchaBundle
=====================

[](#phpmobrecaptchabundle)

PhpMobReCaptchaBundle is a spam protection using google reCaptcha.

Installing
----------

[](#installing)

Installing via `composer` is recommended.

```
"require": {
  "phpmob/recaptcha-bundle": "~1.1"
}
```

Enabling
--------

[](#enabling)

And then enable bundle in `AppKernel.php`

```
public function registerBundles()
{
    $bundles = [
        ...
        new \PhpMob\ReCaptchaBundle\PhpMobReCaptchaBundle(),
    ];
}
```

Usage
-----

[](#usage)

In order to using it you need to setup a bit, First create google recatpcha via and then config in your symfony app.

1. Configuration

```
phpmob_recaptcha
    site_key:
    secret_key:
    # optional
    enabled: true/false # toggle enable or disable to using it
    verify_host: true/false # strict verify hostname (not allow to submit from remote host)
    theme: light/dark # default light
```

2. Using

```
