Google-reCAPTCHA-v3-example

A simple contact form using reCAPTCHA v3 for validation with PHP

MIT License

Stars
37
Committers
2

Google reCAPTCHA v3 example

A simple contact form, using Google reCAPTCHA v3 with PHP for server side validation.

Add your Site key from the reCAPTCHA dashboard on lines 9 and 12 of 'public/index.php':

Add your Secret key from the reCAPTCHA dashboard on line 31 of 'public/index.php':

This can be run locally with vagrant up.

You should run the following to install the required Vagrant plugins:

Access the website locally at http://recaptcha.local

The Vagrant box being used is Scotchbox Pro

See blog post here