Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/prashanthr/recaptchaphp

A Google recaptcha adapter in PHP
https://github.com/prashanthr/recaptchaphp

Last synced: 24 days ago
JSON representation

A Google recaptcha adapter in PHP

Awesome Lists containing this project

README

        

# RecaptchaPHP
A Google recaptcha adapter in PHP for your project needs
## Usage
Edit the constants.php file and replace the empty constants with your site information (site key & secret key).
```PHP
class Constants
{
const RECAPTCHA_SECRET_KEY = "[YOUR_SECRET_KEY]";
const RECAPTCHA_SITE_KEY = "[YOUR_SITE_KEY]";
const RECAPTCHA_VERIFY_URI = "https://www.google.com/recaptcha/api/siteverify";
}
```
Refer to ```example.php```. In any of your pages where you need to display a re-captcha element, add the following to the `````` element.
```html









```