Skip to content

Latest commit

 

History

History
96 lines (75 loc) · 5.6 KB

1-Installation-and-Setup.md

File metadata and controls

96 lines (75 loc) · 5.6 KB

1. Installation

Table of contents

  1. Installation and Setup
  2. Configuration
  3. Usage
  4. Extras
  5. FAQ

Requirements

To use reCAPTCHA, you need to have a site key and a secret key. Click here to setup a domain and get your keys.

The site key is using for the widget and the secret key is used to validate the response we get from Google.

For more details, check the official documentation.

Version Compatibility

Laravel noCaptcha
Laravel v9.x noCaptcha v13.x
Laravel v8.x noCaptcha v12.x
Laravel v7.x noCaptcha v11.x
Laravel v6.x noCaptcha v10.x
Laravel v5.8 noCaptcha v9.x
Laravel v5.7 noCaptcha v7.x noCaptcha v8.x
Laravel v5.6 noCaptcha v6.x
Laravel v5.5 noCaptcha v5.x
Laravel v5.4 noCaptcha v4.x
Laravel v5.3 noCaptcha v3.x
Laravel v5.2 noCaptcha v3.x
Laravel v5.1 noCaptcha v3.x
Laravel v5.0 noCaptcha v3.x
Laravel v4.2 noCaptcha v1.x

Note : This is a framework-agnostic package, so you can use any version of this package in your PHP project.

Composer

You can install this package via Composer by running this command composer require arcanedev/no-captcha.

Laravel

Setup

NOTE : The package will automatically register itself if you're using Laravel >= v5.5, so you can skip this section.

Once the package is installed, you can register the service provider in config/app.php in the providers array:

'providers' => [
    ...
    Arcanedev\NoCaptcha\NoCaptchaServiceProvider::class,
],

For Laravel 4.2 (PHP 5.4), the config file is located in app/config/app.php

In the providers array:

'providers' => [
    ...
    'Arcanedev\NoCaptcha\Laravel\ServiceProvider',
],