2017 © Pedro Peláez
 

library recaptcha

Google No CAPTCHA reCAPTCHA for Laravel.

image

teepluss/recaptcha

Google No CAPTCHA reCAPTCHA for Laravel.

  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel reCAPTCHA.

Are you a robot? Introducing “No CAPTCHA reCAPTCHA”, (*1)

reCAPTCHA from Google, (*2)

Installation

To get the lastest version of Recaptcha simply require it in your composer.json file., (*3)

"teepluss/recaptcha": "dev-master"

You'll then need to run composer install to download it and have the autoloader updated., (*4)

Once reCAPTCHA is installed you need to register the service provider with the application. Open up app/config/app.php and find the providers key., (*5)

'providers' => array(
    'Teepluss\Recaptcha\RecaptchaServiceProvider'
)

Publish config using artisan CLI., (*6)

php artisan config:publish teepluss/recaptcha

Publish view using artisan CLI., (*7)

php artisan view:publish teepluss/recaptcha

Usage

The first you need to config key and secret that get from Google, (*8)

Display captcha on view

echo Recaptcha::render();

// or

echo Form::recaptcha();

Verify captcha from the server

$v = Validator::make(
    Input::all(),
    array(
        'g-recaptcha-response' => 'required|recaptcha'
    ),
    array(
        'g-recaptcha-response.recaptcha' => 'Please verify that you are not a robot.'
    )
);

if ($v->fails())
{
    var_dump($v->messages());
}

Support or Contact

If you have some problem, Contact teepluss@gmail.com, (*9)

Support via PayPal, (*10)

The Versions

24/02 2016

dev-master

9999999-dev https://github.com/teepluss/laravel-recaptcha

Google No CAPTCHA reCAPTCHA for Laravel.

  Sources   Download

MIT

The Requires

 

laravel captcha recaptcha nocaptcha

14/01 2015

0.1

0.1.0.0 https://github.com/teepluss/laravel-recaptcha

Google No CAPTCHA reCAPTCHA for Laravel.

  Sources   Download

MIT

The Requires

 

laravel captcha recaptcha nocaptcha