2latlantik / recaptcha
This bundle provide integration or invisible Recaptcha V2
Installs: 127
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.6 || ^7.0
- google/recaptcha: ^1.2
This package is auto-updated.
Last update: 2024-11-28 22:35:50 UTC
README
The goal of this bundle is to provide an implementation of google recaptcha on my form through a submit button. I use google recaptcha in version 2.
Requirements
- PHP 5.6 or higher
- google/recaptcha
Installation
To install this bundle with Composer :
composer 2latlantik/recaptcha
Then you need to register this bundle on the the kernel by the bundles.php
file in config folder
<?php // in config/bundles.php [ // ... Delatlantik\RecaptchaBundle\RecaptchaBundle::class => ['all' => true], // ... ];
Then you must set the public key and private key necessary for the operation of the captcha verification
# config/packages/recaptcha.yaml recaptcha: key: public_key secret: private_key
Usage
You can add a submit button in your forms using Type/RecaptchaSubmitType class.