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.

FAQ

After the download, you have to make one include require_once('vendor/autoload.php');. After that you have to import the classes with use statements.

Example:
If you use only one package a project is not needed. But if you use more then one package, without a project it is not possible to import the classes with use statements.

In general, it is recommended to use always a project to download your libraries. In an application normally there is more than one library needed.
Some PHP packages are not free to download and because of that hosted in private repositories. In this case some credentials are needed to access such packages. Please use the auth.json textarea to insert credentials, if a package is coming from a private repository. You can look here for more information.

  • Some hosting areas are not accessible by a terminal or SSH. Then it is not possible to use Composer.
  • To use Composer is sometimes complicated. Especially for beginners.
  • Composer needs much resources. Sometimes they are not available on a simple webspace.
  • If you are using private repositories you don't need to share your credentials. You can set up everything on our site and then you provide a simple download link to your team member.
  • Simplify your Composer build process. Use our own command line tool to download the vendor folder as binary. This makes your build process faster and you don't need to expose your credentials for private repositories.
Please rate this library. Is it a good library?

Informations about the package recaptcha

ReCaptcha 1.0.0

Build Status

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

Changelog

You can see Changelog for this project here

License

Whole code in this repository is Under MIT license


All versions of recaptcha with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.2
Composer command for our command line client (download client) This client runs in each environment. You don't need a specific PHP version etc. The first 20 API calls are free. Standard composer command

The package devstrefa/recaptcha contains the following files

Loading the files please wait ....