Download the PHP package bodeezy/recaptcha without Composer

On this page you can find all versions of the php package bodeezy/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

A reCAPTCHA Validator for Laravel 4.

Installation

Add the following line to the require section of composer.json:

Laravel 4 Setup

  1. Add Greggilbert\Recaptcha\RecaptchaServiceProvider to the service provider list in app/config/app.php.
  2. Run php artisan config:publish greggilbert/recaptcha.
  3. In app/config/packages/greggilbert/recaptcha/config.php, enter your reCAPTCHA public and private keys.
  4. Add the following line into app/lang/[lang]/validation.php:

Usage

  1. In your form, use Form::captcha() to echo out the markup.
  2. In your validation rules, add the following:

It's also recommended to add required when validating.

Customization

reCAPTCHA allows for customization of the widget through a number of options, listed at the official documentation. You can configure the output of the captcha in several ways.

In the config.php, you can create an options array to set the default behavior. For example:

would default all the reCAPTCHAs to the white theme. If you want to further customize, you can pass options through the Form option:

Alternatively, if you want to set a default template instead of the standard one, you can use the config:

or you can pass it in through the Form option:

Options passed into Form::captcha will always supercede the configuration.

To change the language of the captcha, simply pass in a language as part of the options:

You can do this both in the config and through the Form::captcha() call.

V2 (No CAPTCHA reCAPTCHA) Support

To make use of the new reCAPTCHA (see https://developers.google.com/recaptcha/docs/display), you will need to enable the v2 setting in the config:

Note that you will also have to generate a new set of keys if you have previously used reCAPTCHA v1. You can request keys at: https://www.google.com/recaptcha/admin#list

The validation rules will also need to be modified to the below:

Limitation

Because of Google's way of displaying the recaptcha, this package won't work if you load your form from an ajax call. If you need to do it you should use that method provided by Google :


All versions of recaptcha with dependencies

PHP Build Version
Package Version
Requires php Version >=5.3.0
illuminate/support Version *
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 bodeezy/recaptcha contains the following files

Loading the files please wait ....