2017 © Pedro Peláez
 

library recaptcha

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

image

tyrola/recaptcha

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

  • Friday, December 25, 2015
  • by BirknerAlex
  • Repository
  • 1 Watchers
  • 0 Stars
  • 3,605 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 28 Forks
  • 0 Open issues
  • 7 Versions
  • 19 % Grown

The README.md

reCaptcha-PHP-5 (v2.0.0)

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

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

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

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:, (*3)

{
  "require": {
      "tyrola/recaptcha": "v2.1.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 own autoloader, simply update namespaces and drop the files into your frameworks library., (*4)

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

Notes

  • The functionality is based on $_POST requests by default, you can modify it (fairly easy) to take $_GET or whatever you want instead.
  • It will always send 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/learnmore, (*6)

The Versions

25/12 2015

dev-master

9999999-dev https://github.com/BirknerAlex/reCAPTCHA

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

25/12 2015

v2.1.0

2.1.0.0 https://github.com/BirknerAlex/reCAPTCHA

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

  Sources   Download

BSD

The Requires

  • php >=5.3.0

 

api php captcha google recaptcha

17/01 2015

v2.0.0

2.0.0.0 https://github.com/BirknerAlex/reCAPTCHA

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

  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