Skip to content

zh32/reCaptchaBundle

Repository files navigation

reCaptchaBundle

This is a Symfony2 Bundle prodviding a captcha form type

Installation

    "zh32/recaptcha-bundle": "dev-master"
<?php
// app/appKernel.php

public function registerBundles()
{
    $bundles = array(
        // ...
        new Craftlist\CaptchaBundle\CraftlistCaptchaBundle(),
    );
}

Configuration

Add the following configuration to your app/config/config.yml:

recaptcha:
    id:         <your recaptcha id>
    secret:     <your recaptcha secret>
    whitelist:     [ "127.0.0.1"]

Usage

<?php
    // ...
    $builder->add('captcha', 'captcha');
    // ...

About

Symfony2 Bundle prodviding a captcha form type

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published