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.
Laravel | noCaptcha |
---|---|
Note : This is a framework-agnostic package, so you can use any version of this package in your PHP project.
You can install this package via Composer by running this command composer require arcanedev/no-captcha
.
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',
],