All Projects → prugala → PRRecaptchaBundle

prugala / PRRecaptchaBundle

Licence: MIT license
Recaptcha v3 bundle for Symfony

Programming Languages

PHP
23972 projects - #3 most used programming language
Twig
543 projects
CSS
56736 projects

Projects that are alternatives of or similar to PRRecaptchaBundle

2captcha-go
Golang Module for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
Stars: ✭ 31 (+121.43%)
Mutual labels:  recaptcha, recaptcha-v3
react-recaptcha-x
a React reCAPTCHA version 3 and version 2 (checkbox) component in one.
Stars: ✭ 21 (+50%)
Mutual labels:  recaptcha, recaptcha-v3
simple-recaptcha-v3
🤖 This repository contains simple reCAPTCHA v3 integration for your Laravel application.
Stars: ✭ 25 (+78.57%)
Mutual labels:  recaptcha, recaptcha-v3
2captcha-python
Python 3 package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
Stars: ✭ 140 (+900%)
Mutual labels:  recaptcha, recaptcha-v3
2captcha-php
PHP package for easy integration with the API of 2captcha captcha solving service to bypass recaptcha, hcaptcha, funcaptcha, geetest and solve any other captchas.
Stars: ✭ 25 (+78.57%)
Mutual labels:  recaptcha, recaptcha-v3
Beelabrecaptcha2bundle
💻 Symfony bundle for Google Recaptcha2
Stars: ✭ 47 (+235.71%)
Mutual labels:  recaptcha, symfony-bundle
AspNetCore-ReCAPTCHAv3
reCAPTCHA v3 Usage in Asp.Net Core MVC
Stars: ✭ 17 (+21.43%)
Mutual labels:  recaptcha, recaptcha-v3
Karserrecaptcha3bundle
Google ReCAPTCHA v3 for Symfony
Stars: ✭ 52 (+271.43%)
Mutual labels:  recaptcha, symfony-bundle
Captcha solver
Universal python API to captcha solving services
Stars: ✭ 152 (+985.71%)
Mutual labels:  recaptcha
api-platform-messenger
Uses API Platform to exposes Commands & Queries dispatched to your Symfony Messenger bus
Stars: ✭ 31 (+121.43%)
Mutual labels:  symfony-bundle
Recaptcha
ReCaptcha helpers for ruby apps
Stars: ✭ 1,819 (+12892.86%)
Mutual labels:  recaptcha
Puppeteer Extra
💯 Teach puppeteer new tricks through plugins.
Stars: ✭ 3,397 (+24164.29%)
Mutual labels:  recaptcha
SensioBuzzBundle
No description or website provided.
Stars: ✭ 89 (+535.71%)
Mutual labels:  symfony-bundle
Laravel Google Recaptcha V3
It's probably the best Laravel Package for Google reCAPTCHA v3. Vue component supported.
Stars: ✭ 149 (+964.29%)
Mutual labels:  recaptcha
react-grecaptcha
React.js Google reCAPTCHA v2 integration component.
Stars: ✭ 52 (+271.43%)
Mutual labels:  recaptcha
Recaptcha Module
🤖 Simple and easy Google reCAPTCHA integration with Nuxt.js
Stars: ✭ 143 (+921.43%)
Mutual labels:  recaptcha
Python Anticaptcha
Client library for solve captchas with Anticaptcha.com support.
Stars: ✭ 137 (+878.57%)
Mutual labels:  recaptcha
stampie-bundle
stampie.github.io/
Stars: ✭ 26 (+85.71%)
Mutual labels:  symfony-bundle
apisearch-bundle
⛵ Apisearch Symfony-Drift Bundle
Stars: ✭ 23 (+64.29%)
Mutual labels:  symfony-bundle
gulp-rev-versions-bundle
A bundle that allows symfony to get the version of assets versioned with gulp-rev
Stars: ✭ 13 (-7.14%)
Mutual labels:  symfony-bundle

ARCHIVED

This repository is archived and not maintained.

Please use: https://github.com/excelwebzone/EWZRecaptchaBundle

RecaptchaBundle

Recaptcha v3 bundle for Symfony

Latest Stable Version Total Downloads License

Build Status

Installation

composer require prugala/recaptcha-bundle

Register bundle in AppKernel.php file:

new PR\Bundle\RecaptchaBundle\PRRecaptchaBundle()

Configuration

pr_recaptcha:
    public_key: 'public key'
    secret_key: 'secret key'
    enabled: false # optional / default value: true - you can disable it for local or test env
    score_threshhold: 'score' # optional / default value: 0.5
    hide_badge: true # optional / default value: false *
    host: 'www.google.com' # optional / default value: www.google.com **

* 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

twig:
    form_themes: ['@PRRecaptcha/Form/recaptcha.html.twig']

How to use

Add field with type RecaptchaType to your form, example:

->add('captcha', RecaptchaType::class)

Options available:

->add('captcha', RecaptchaType::class, [
    'script_nonce_csp' => $nonce,
    'action_name' => 'contact_form'
])
  • script_nonce_csp: Nonce for Content-Security-Policy header
  • action_name: Form specific action name

TODO

  1. Support for version v2
  2. Waiting for suggestions :)
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].