PHPackages                             nissicreative/laravel-recaptcha - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. nissicreative/laravel-recaptcha

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

nissicreative/laravel-recaptcha
===============================

A simple reCAPTCHA implementation for your Laravel project.

1.0.8(2y ago)24731MITPHPPHP ^5.6 || ^7.0 || ^8.0

Since Jul 31Pushed 2y ago2 watchersCompare

[ Source](https://github.com/nissicreative/laravel-recaptcha)[ Packagist](https://packagist.org/packages/nissicreative/laravel-recaptcha)[ RSS](/packages/nissicreative-laravel-recaptcha/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (10)Used By (0)

Laravel ReCaptcha
=================

[](#laravel-recaptcha)

> Easily integrate Google's reCAPTCHA into your Laravel 5+ project.

Installation
------------

[](#installation)

```
composer require nissicreative/laravel-recaptcha
```

### Setup

[](#setup)

Add the service provider to the providers array in app/config/app.php.
**(You can skip this step if using Laravel 5.5+, as it will use Laravel's autodiscovery.)**

```
Nissi\ReCaptcha\ReCaptchaServiceProvider::class,
```

### Configuration

[](#configuration)

> Visit  and register your site. Be sure to list all domains on which you will use the widget, including any local or staging domains (e.g. `localhost` or `mysite.test`). You will be assigned a Site Key and a Secret Key.

Add these reCAPTCHA keys to your .env file:

```
RECAPTCHA_KEY=my-site-key
RECAPTCHA_SECRET=my-secret-key
```

This is the default config file:

```
