I would really appreciate some help with implementing reCAPTCHA in my site. I created a simple one page site by altering a template i downloaded. The problem was my inbox was getting hammered by spam emails. I was told about reCAPTCHA and want to use it.
I have followed multiple examples online, searched on here and followed the google docs. I have come across various errors and managed to solve each one until now.
I have my own private and secret key and i have registered my actual domain.com and localhost.
The last tutorial i used was this;
https://bootstrapious.com/p/bootstrap-recaptcha
I downloaded the google API libraries into the root of my project with the following command;
git clone -b v1-master https://github.com/google/google-api-php-client.git.
As it stands i receive the following error.
Fatal error: Class 'ReCaptcha\ReCaptcha' not found in /Users/myName/Desktop/project/contactform/contactform.php on line 30.
I have uploaded my project to gitHub in the hope someone could help me out and take a look. I have removed any sensitive information from site but it will still run on your localhost.
Any help or suggestions will be greatly appreciated. Spent hours looking at it and trying different things.
https://github.com/Peakapot/reCAPTCHA-Help
Thank you