PHPackages                             spaanproductions/invisible-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. spaanproductions/invisible-recaptcha

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

spaanproductions/invisible-recaptcha
====================================

Invisible reCAPTCHA For Laravel.

v2.0.4(1y ago)06.3k↓14.3%MITPHPPHP ^8.1

Since May 4Pushed 1y agoCompare

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

READMEChangelog (5)Dependencies (5)Versions (30)Used By (0)

Laravel Invisible reCAPTCHA
===========================

[](#laravel-invisible-recaptcha)

[![php-badge](https://camo.githubusercontent.com/183804d09fec16ca7b6209b007250b7d8db1b915042feb093a9f20e6e1f25359/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e737667)](https://camo.githubusercontent.com/183804d09fec16ca7b6209b007250b7d8db1b915042feb093a9f20e6e1f25359/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230382e312d3838393242462e737667)[![packagist-badge](https://camo.githubusercontent.com/9363a33f99a660d19ee0f3f6249f69833d249ab647b930785c9ce0b725a86285/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737061616e70726f64756374696f6e732f696e76697369626c652d7265636170746368612e737667)](https://packagist.org/packages/spaanproductions/invisible-recaptcha)

Why Invisible reCAPTCHA?
------------------------

[](#why-invisible-recaptcha)

Invisible reCAPTCHA is an improved version of reCAPTCHA v2(no captcha). In reCAPTCHA v2, users need to click the button: "I'm not a robot" to prove they are human. In invisible reCAPTCHA, there will be not embed a captcha box for users to click. It's totally invisible! Only the badge will show on the buttom of the page to hint users that your website is using this technology. (The badge could be hidden, but not suggested.)

Notice
------

[](#notice)

- The master branch doesn't support multi captchas feature. (**Most of the time you are misusing recaptcha when you try to put multiple captchas in one page.**)

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

[](#installation)

```
composer require spaanproductions/invisible-recaptcha

```

Laravel 10
----------

[](#laravel-10)

### Setup

[](#setup)

It has auto discover for the provider. No need to add it manually.

### Configuration

[](#configuration)

Before you set your config, remember to choose `invisible reCAPTCHA` while applying for keys. [![invisible_recaptcha_setting](./images/zIAlKbY.jpg)](./images/zIAlKbY.jpg)

Add `INVISIBLE_RECAPTCHA_SITEKEY`, `INVISIBLE_RECAPTCHA_SECRETKEY` to **.env** file.

```
// required
INVISIBLE_RECAPTCHA_SITEKEY={siteKey}
INVISIBLE_RECAPTCHA_SECRETKEY={secretKey}

// optional
INVISIBLE_RECAPTCHA_BADGEHIDE=true
INVISIBLE_RECAPTCHA_DATABADGE="bottomright"
INVISIBLE_RECAPTCHA_TIMEOUT=5
INVISIBLE_RECAPTCHA_DEBUG=false

```

> There are three different captcha styles you can set: `bottomright`, `bottomleft`, `inline`

> If you set `INVISIBLE_RECAPTCHA_BADGEHIDE` to false, you can show the badge logo.

> You can see the binding status of those catcha elements on browser console by setting `INVISIBLE_RECAPTCHA_DEBUG` as true.

### Usage

[](#usage)

Before you render the captcha, please keep those notices in mind:

- `render()` or `renderHTML()` function needs to be called within a form element.
- You have to ensure the `type` attribute of your submit button has to be `submit`.
- There can only be one submit button in your form.

##### Display reCAPTCHA in Your View

[](#display-recaptcha-in-your-view)

```
{!! app('captcha')->render() !!}

// or you can use this in blade
@captcha
```

With custom language support:

```
{!! app('captcha')->render('en') !!}

// or you can use this in blade
@captcha('en')
```

##### Validation

[](#validation)

Add `'g-recaptcha-response' => 'required|captcha'` to rules array.

```
$validate = Validator::make(Input::all(), [
    'g-recaptcha-response' => 'required|captcha'
]);
```

Credits
-------

[](#credits)

- anhskohbo (the author of no-captcha package)
- albertcht (the original author of the laravel invisible-recaptcha package )
- [Contributors](https://github.com/spaanproductions/invisible-recaptcha/graphs/contributors)

###  Health Score

43

—

FairBetter than 91% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity83

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 68.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~100 days

Recently: every ~36 days

Total

27

Last Release

699d ago

Major Versions

v1.9.7 → v2.0.02024-01-26

PHP version history (3 changes)v1.0PHP ^5.6.4 || ^7.0

v1.9.6PHP ^5.6.4 || ^7.0 || ^8.0

v2.0.0PHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/995231520c67f8525b9eb01fbd1ebc9db2405942d40fc1373276cd976da81b9e?d=identicon)[spaantje](/maintainers/spaantje)

---

Top Contributors

[![albertcht](https://avatars.githubusercontent.com/u/9117929?v=4)](https://github.com/albertcht "albertcht (97 commits)")[![danmatthews](https://avatars.githubusercontent.com/u/149426?v=4)](https://github.com/danmatthews "danmatthews (7 commits)")[![spaantje](https://avatars.githubusercontent.com/u/477362?v=4)](https://github.com/spaantje "spaantje (6 commits)")[![garbinmarcelo](https://avatars.githubusercontent.com/u/9335588?v=4)](https://github.com/garbinmarcelo "garbinmarcelo (4 commits)")[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (3 commits)")[![laravel-shift](https://avatars.githubusercontent.com/u/15991828?v=4)](https://github.com/laravel-shift "laravel-shift (2 commits)")[![jochensengier](https://avatars.githubusercontent.com/u/10118729?v=4)](https://github.com/jochensengier "jochensengier (2 commits)")[![Marko-M](https://avatars.githubusercontent.com/u/1738436?v=4)](https://github.com/Marko-M "Marko-M (2 commits)")[![mvasilyev](https://avatars.githubusercontent.com/u/4038111?v=4)](https://github.com/mvasilyev "mvasilyev (2 commits)")[![sumityadav](https://avatars.githubusercontent.com/u/169143?v=4)](https://github.com/sumityadav "sumityadav (2 commits)")[![hedii](https://avatars.githubusercontent.com/u/5358048?v=4)](https://github.com/hedii "hedii (1 commits)")[![boblennes](https://avatars.githubusercontent.com/u/5143474?v=4)](https://github.com/boblennes "boblennes (1 commits)")[![BSN4](https://avatars.githubusercontent.com/u/199647?v=4)](https://github.com/BSN4 "BSN4 (1 commits)")[![storyn26383](https://avatars.githubusercontent.com/u/6954098?v=4)](https://github.com/storyn26383 "storyn26383 (1 commits)")[![BrandonSurowiec](https://avatars.githubusercontent.com/u/5625680?v=4)](https://github.com/BrandonSurowiec "BrandonSurowiec (1 commits)")[![yasiao](https://avatars.githubusercontent.com/u/9282137?v=4)](https://github.com/yasiao "yasiao (1 commits)")[![neamtua](https://avatars.githubusercontent.com/u/1029457?v=4)](https://github.com/neamtua "neamtua (1 commits)")[![QuentinBontemps](https://avatars.githubusercontent.com/u/4568504?v=4)](https://github.com/QuentinBontemps "QuentinBontemps (1 commits)")[![realanmup](https://avatars.githubusercontent.com/u/25292662?v=4)](https://github.com/realanmup "realanmup (1 commits)")[![rhynodesigns](https://avatars.githubusercontent.com/u/2198266?v=4)](https://github.com/rhynodesigns "rhynodesigns (1 commits)")

---

Tags

phplaravelrecaptchacaptchalaravel5invisibleno-captchainvisible-recaptcha

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/spaanproductions-invisible-recaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/spaanproductions-invisible-recaptcha/health.svg)](https://phpackages.com/packages/spaanproductions-invisible-recaptcha)
```

###  Alternatives

[albertcht/invisible-recaptcha

Invisible reCAPTCHA For Laravel.

6031.6M6](/packages/albertcht-invisible-recaptcha)[anhskohbo/no-captcha

No CAPTCHA reCAPTCHA For Laravel.

1.8k8.5M33](/packages/anhskohbo-no-captcha)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
