Support the ongoing development of Laravel.io →
Forms Validation
Last updated 2 years ago.
0

Perhaps a leading backslash? else a "use \ReCaptcha\ReCaptcha" statement?

0

Tried all kind of combinations, none of them worked. Went to ReCaptcha.php and removed "use namespace ReCaptcha;" and then it worked, but now getting other classes not loading up. I tried other vendor librariers and they all fail to register the classes for some reason. Tried this one aswell and i get "Class 'Anhskohbo\NoCaptcha\NoCaptchaServiceProvider' not found" error.

Last updated 9 years ago.
0

UPDATE: Problem solved with a clean install of Laravel, seems composer update screwed up somewhere and none of the vendor classes were registering.

0

are you sure you just didn't need to run

composer dump-autoload
0

If you are having difficulty following that guide, you can find an easy tutorial on implementing Google reCAPTCHA on Laravel here on this blog: https://www.cloudways.com/blog/use-recaptcha-laravel-forms-validation/

0

Sign in to participate in this thread!

Eventy

Your banner here too?

Tickwick tickwick Joined 22 Apr 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.