This repository has been archived by the owner on Feb 17, 2022. It is now read-only.
Laravel Octane compatible
This new version is a minor rewrite of Captchavel.
If you're upgrading, check this release changelog. Since a breaking change was Laravel Octane compatibility, work has been done to also upgrade some parts of this package.
What's changed?
- Middlewares name. There is
recaptcha
for v2, andrecaptcha.score
for score-driven challenges. - Resolution helpers
isResolved()
andisNotResolved()
have been moved to theReCaptchaResponse
object. - Config for credentials has been simplified for each reCAPTCHA service name.
What's added?
- Nothing.
What's removed?
BaseCaptchavelMiddleware
, which the middlewares were based upon.ReCaptchaResponseReceived
event. Nobody used, not even me.- Faking V2 responses on testing environment has been disabled. You need to explicitly disable
Captchavel
.
What's fixed?
- Laravel Octane compatibility, mainly due to
Captchavel
being a "loose" singleton.