Download the PHP package znanylekarz/recaptcha without Composer
On this page you can find all versions of the php package znanylekarz/recaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download znanylekarz/recaptcha
More information about znanylekarz/recaptcha
Files in znanylekarz/recaptcha
Package recaptcha
Short Description A properly coded PHP 5 reCaptcha class that will allow you to interact with Google'sreCaptcha API.
License BSD
Homepage https://github.com/AlekseyKorzun/reCaptcha-PHP-5
Informations about the package recaptcha
reCaptcha-PHP-5 (v1.1)
A properly coded PHP 5 reCaptcha class that will allow you to interact with Google's reCaptcha API.
- 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.
Usage
If you have your own autoloader, simply update namespaces and drop the files into your frameworks library.
For people that do not have that setup, you can visit http://getcomposer.org to install
composer on your system. After installation simply run composer install
in parent
directory of this distribution to generate vendor/ directory with a cross system autoloader.
Please see Examples directory for a simple run down of functionality.
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 :))