Download the PHP package prugala/recaptcha-bundle without Composer
On this page you can find all versions of the php package prugala/recaptcha-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download prugala/recaptcha-bundle
More information about prugala/recaptcha-bundle
Files in prugala/recaptcha-bundle
Package recaptcha-bundle
Short Description reCAPTCHA v3 bundle for Symfony
License MIT
Homepage https://github.com/prugala/PRRecaptchaBundle
Informations about the package recaptcha-bundle
ARCHIVED
This repository is archived and not maintained.
Please use: https://github.com/excelwebzone/EWZRecaptchaBundle
RecaptchaBundle
Recaptcha v3 bundle for Symfony
Installation
composer require prugala/recaptcha-bundle
Register bundle in AppKernel.php
file:
Configuration
*
When you hide badge inform visitors that reCAPTCHA is implemented on website:
https://developers.google.com/recaptcha/docs/faq#hiding-badge
**
If you plan to use reCAPTCHA globally please use host www.recaptcha.net
.
More informations:
https://developers.google.com/recaptcha/docs/faq#can-i-use-recaptcha-globally
In Symfony 4.4 and newer you need to register form theme by yourself by adding in config/packages.twig.yaml
How to use
Add field with type RecaptchaType
to your form, example:
->add('captcha', RecaptchaType::class)
Options available:
- script_nonce_csp: Nonce for Content-Security-Policy header
- action_name: Form specific action name
TODO
- Support for version v2
- Waiting for suggestions :)
All versions of recaptcha-bundle with dependencies
google/recaptcha Version ^1.1
symfony/form Version ^2.8 || ^3.0 || ^4.0 || ^5.0
twig/twig Version ^2.0 || ^3.0
symfony/framework-bundle Version ^2.8 || ^3.0 || ^4.0 || ^5.0
symfony/validator Version ^2.8 || ^3.0 || ^4.0 || ^5.0