fledev / nocaptcha
NoCaptcha Symfony Bundle
v0.1
2017-10-20 05:59 UTC
Requires
- php: >=5.3.9
- google/recaptcha: ~1.1
- symfony/form: ~2.8|~3.0
- symfony/symfony: ^3.3
This package is not auto-updated.
Last update: 2024-05-12 02:15:32 UTC
README
NoCaptcha Symfony Bundle
Installation:
$ composer require fledev/nocaptcha
Add to:
- AppKernel.php
- registerBundles()
- new FLEdev\NoCaptcha\NoCaptchaBundle()
- registerBundles()
Configuration:
config.yml:
no_captcha:
key: 'your_google_no-captcha_key'
secret: 'your_google_no-captcha_secret'
validation_mesage: 'Check in if you are Human'
wrapper_class: no-captcha-wrap
field_class: no-captcha
Usage:
- Define:
use FLEdev\NoCaptcha\Form\NoCaptchaType;
- Within "buildForm" Method:
$builder->add('no_captcha', NoCaptchaType::class);