AlekseyKorzun / reCaptcha-PHP-5

Proper PHP 5 client for reCaptcha client
http://www.google.com/recaptcha/intro/index.html
Other
40 stars 26 forks source link

reCaptcha-PHP-5 (v2.0.0)

Latest Stable Version Total Downloads License

If you are using the reCaptcha field on any of your forms and are currently using global keys, you will need to set up a Site Key and a Private Key for each site where you use the reCaptcha field.

A correctly coded PHP 5 reCaptcha class that will allow you to interact with Google's reCaptcha API.

Feel free to extend and modify it to fit your frameworks and applications needs.

Usage

Composer install

You can install via composer:

{
  "require": {
      "recaptcha/php5": "v2.0.0"
  }
}
<?php
require 'vendor/autoload.php';

Manual install

If you have your autoloader, directly update namespaces and drop the files into your frameworks library.

Please see Examples directory for a simple run down of functionality.

Notes

About

See: http://www.google.com/recaptcha/intro/index.html