library nocaptcha
NoCaptcha Symfony Bundle
fledev/nocaptcha
NoCaptcha Symfony Bundle
- Friday, October 20, 2017
- by FLEdev
- Repository
- 0 Watchers
- 0 Stars
- 11 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 2 Versions
- 0 % Grown
NoCaptcha
NoCaptcha Symfony Bundle
Installation:
$ composer require fledev/nocaptcha, (*1)
Add to:
- AppKernel.php
- registerBundles()
- new FLEdev\NoCaptcha\NoCaptchaBundle(), (*2)
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:
use FLEdev\NoCaptcha\Form\NoCaptchaType;
- Within "buildForm" Method:
$builder->add('no_captcha', NoCaptchaType::class);