Download the PHP package devstrefa/recaptcha without Composer
On this page you can find all versions of the php package devstrefa/recaptcha. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download devstrefa/recaptcha
More information about devstrefa/recaptcha
Files in devstrefa/recaptcha
Package recaptcha
Short Description PHP Library to verify google reCaptcha challenge
License MIT
Homepage https://github.com/google/recaptcha/
Informations about the package recaptcha
ReCaptcha 1.0.0
Simple PHP Library, designed for verifications of Google reCaptcha.
Why ?
Simple answer for this question is "I really don't know" :) but seriously, it is very simple project ideal for learning several PHP-Development tools, and if this library could be usefull for someone else that's great.
How to install
Library is compatible with composer so You can install it by adding:
to Your composer.json file
You can also download zip file and include all necessery files by yourself
How to use package
After installing / downloading package you can use it in very simple way. First of all if you are not using Composer autoloader (or any PSR-4 compatible loader) You should be sure that You include all necessery files, after that it's very simple.
Before you start integrate reCaptcha on your site visit reCaptcha Page and generate pair of keys, You can do this by clicking get reCaptch button.
Next add to your html file in \
section:after that insert this code in place where you want to display your captcha widget (it must be inside \
tags)Now when you refresh page you should see reCaptcha widget, if it's working You can go now to PHP part
Whole code is really simple:
That's it! For more informations about library please check included example, and read genereated documentation.
ToDo
- More Senders (Curl etc.)
Changelog
You can see Changelog for this project here
License
Whole code in this repository is Under MIT license