In what context are you going to implement it? If its not for use registration or login (which it shouldn't be), then just follow Jeffrey's video about it. You don't really need a package.
Nov 21, 2016
2
Level 5
Adding noCAPTCHA in laravel spark
I used this package in adding captcha in my project https://github.com/ARCANEDEV/noCAPTCHA. But even if I supply the right captcha it always prompt "The register captcha field is required.".
Here is my code:
App.js
Spark.forms.register = { registerCaptcha: '' };
test.blade.php
$captcha = new Arcanedev\NoCaptcha\NoCaptcha(env('NOCAPTCHA_SECRET'), env('NOCAPTCHA_SITEKEY')); echo $captcha->display('registerCaptcha');
@{{ registerForm.errors.get('registerCaptcha') }}
echo $captcha->scriptWithCallback(['registerCaptcha']);
Please or to participate in this conversation.