2017 © Pedro Peláez
 

library php5

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

image

recaptcha/php5

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

  • PHP
  • 6 Dependents
  • 0 Suggesters
  • 28 Forks
  • 3 Open issues
  • 7 Versions
  • 4 % Grown

The README.md

reCaptcha-PHP-5 (v2.0.0)

Latest Stable Version Total Downloads License, (*1)

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., (*2)

A correctly coded PHP 5 reCaptcha class that will allow you to interact with Google's reCaptcha API., (*3)

  • 100% phpDocumentator 2 code coverage
  • 100% PSR-2 code coverage
  • Composer friendly package

Feel free to extend and modify it to fit your frameworks and applications needs., (*4)

Usage

Composer install

You can install via composer: - visit http://getcomposer.org to install composer on your system; - create a composer.json file in your project root:, (*5)

{
  "require": {
      "recaptcha/php5": "v2.0.0"
  }
}
  • download and install the package with composer install;
  • add this line to your application's index.php file:
<?php
require 'vendor/autoload.php';

Manual install

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

Please see Examples directory for a simple run down of functionality., (*7)

Notes

  • The functionality is based on $_POST requests by default; you can modify it (relatively easy) to take $_GET or whatever you want instead.
  • It will always send a remote address from $_SERVER['REMOTE_ADDR'] variable. If you are behind Vagrant, etc. Please update it, or write a setter to set remote address on the fly.

About

See: http://www.google.com/recaptcha/intro/index.html, (*8)

The Versions

06/05 2016

dev-master

9999999-dev https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

18/07 2015

2.0.0.x-dev

2.0.0.9999999-dev https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

18/07 2015

v2.0.0

2.0.0.0 https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

07/07 2014

1.1.0.x-dev

1.1.0.9999999-dev https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

07/07 2014

v1.1.0

1.1.0.0 https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

26/06 2014

1.0.0.x-dev

1.0.0.9999999-dev https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

17/06 2013

v1.0.0

1.0.0.0 https://github.com/AlekseyKorzun/reCaptcha-PHP-5

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha