Skip to content
This repository has been archived by the owner on Feb 17, 2022. It is now read-only.

Laravel Octane compatible

Compare
Choose a tag to compare
@DarkGhostHunter DarkGhostHunter released this 09 Apr 04:48
· 39 commits to stable since this release
7b4532d

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, and recaptcha.score for score-driven challenges.
  • Resolution helpers isResolved() and isNotResolved() have been moved to the ReCaptchaResponse 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.