Download the PHP package spaanproductions/invisible-recaptcha without Composer
On this page you can find all versions of the php package spaanproductions/invisible-recaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download spaanproductions/invisible-recaptcha
More information about spaanproductions/invisible-recaptcha
Files in spaanproductions/invisible-recaptcha
Package invisible-recaptcha
Short Description Invisible reCAPTCHA For Laravel.
License MIT
Informations about the package invisible-recaptcha
Laravel Invisible reCAPTCHA
Why Invisible reCAPTCHA?
Invisible reCAPTCHA is an improved version of reCAPTCHA v2(no captcha). In reCAPTCHA v2, users need to click the button: "I'm not a robot" to prove they are human. In invisible reCAPTCHA, there will be not embed a captcha box for users to click. It's totally invisible! Only the badge will show on the buttom of the page to hint users that your website is using this technology. (The badge could be hidden, but not suggested.)
Notice
- The master branch doesn't support multi captchas feature. (Most of the time you are misusing recaptcha when you try to put multiple captchas in one page.)
Installation
Laravel 10
Setup
It has auto discover for the provider. No need to add it manually.
Configuration
Before you set your config, remember to choose invisible reCAPTCHA
while applying for keys.
Add INVISIBLE_RECAPTCHA_SITEKEY
, INVISIBLE_RECAPTCHA_SECRETKEY
to .env file.
There are three different captcha styles you can set:
bottomright
,bottomleft
,inline
If you set
INVISIBLE_RECAPTCHA_BADGEHIDE
to false, you can show the badge logo.You can see the binding status of those catcha elements on browser console by setting
INVISIBLE_RECAPTCHA_DEBUG
as true.
Usage
Before you render the captcha, please keep those notices in mind:
render()
orrenderHTML()
function needs to be called within a form element.- You have to ensure the
type
attribute of your submit button has to besubmit
. - There can only be one submit button in your form.
Display reCAPTCHA in Your View
With custom language support:
Validation
Add 'g-recaptcha-response' => 'required|captcha'
to rules array.
Credits
- anhskohbo (the author of no-captcha package)
- albertcht (the original author of the laravel invisible-recaptcha package https://github.com/albertcht/invisible-recaptcha)
- Contributors
All versions of invisible-recaptcha with dependencies
illuminate/support Version ^10.0|^11.0
illuminate/view Version ^10.0|^11.0
guzzlehttp/guzzle Version ^7.0