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

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

oriceon/invisible-recaptcha
===========================

Invisible reCAPTCHA For Laravel.

2.0.4(2mo ago)0200[1 PRs](https://github.com/oriceon/invisible-recaptcha/pulls)MITPHPPHP ^8.2|^8.3|^8.4|^8.5

Since Mar 12Pushed 2mo agoCompare

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

READMEChangelog (6)Dependencies (8)Versions (7)Used By (0)

Invisible reCAPTCHA
===================

[](#invisible-recaptcha)

[![php-badge](https://camo.githubusercontent.com/4cbdbfeca62402b9ca3d48503f2bf66fc9809569bcd6de47196d39fecff71e72/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e737667)](https://camo.githubusercontent.com/4cbdbfeca62402b9ca3d48503f2bf66fc9809569bcd6de47196d39fecff71e72/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230352e362d3838393242462e737667)[![packagist-badge](https://camo.githubusercontent.com/26d5efef1e092a12d8697ca490d9fec193b4038d31aff2a70751309687a9f407/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6f726963656f6e2f696e76697369626c652d7265636170746368612e737667)](https://packagist.org/packages/oriceon/invisible-recaptcha)[![Total Downloads](https://camo.githubusercontent.com/86c24d89973d80f7c20c25e1a287b004826438a08ec3d14a3f9cf46bd82d292b/68747470733a2f2f706f7365722e707567782e6f72672f6f726963656f6e2f696e76697369626c652d7265636170746368612f646f776e6c6f616473)](https://packagist.org/packages/oriceon/invisible-recaptcha)[![travis-badge](https://camo.githubusercontent.com/a8e318b241f775394647786524a6780184e74d6694a171b7bd41787f9d53d8d4/68747470733a2f2f6170692e7472617669732d63692e6f72672f6f726963656f6e2f696e76697369626c652d7265636170746368612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/oriceon/invisible-recaptcha)

[![invisible_recaptcha_demo](https://camo.githubusercontent.com/db912f64af2f54c24e06ad603639f6824ea73addffa3ceb3f6328913982d2cf5/687474703a2f2f692e696d6775722e636f6d2f31645a39584b6e2e706e67)](https://camo.githubusercontent.com/db912f64af2f54c24e06ad603639f6824ea73addffa3ceb3f6328913982d2cf5/687474703a2f2f692e696d6775722e636f6d2f31645a39584b6e2e706e67)

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.)

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

[](#installation)

```
composer require oriceon/invisible-recaptcha

```

### Configuration

[](#configuration)

Before you set your config, remember to choose `invisible reCAPTCHA` while applying for keys. [![invisible_recaptcha_setting](https://camo.githubusercontent.com/bc407e52682a0ddbd067c418416e1307c9ddcd0ef16b51bbac6d414277dadbe4/687474703a2f2f692e696d6775722e636f6d2f7a49416c4b62592e6a7067)](https://camo.githubusercontent.com/bc407e52682a0ddbd067c418416e1307c9ddcd0ef16b51bbac6d414277dadbe4/687474703a2f2f692e696d6775722e636f6d2f7a49416c4b62592e6a7067)

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

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

// optional
INVISIBLE_RECAPTCHA_BADGEHIDE=false
INVISIBLE_RECAPTCHA_DATABADGE='bottomright'
INVISIBLE_RECAPTCHA_TIMEOUT=5
INVISIBLE_RECAPTCHA_DEBUG=false
INVISIBLE_RECAPTCHA_ENABLED=true

```

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

> If you set `INVISIBLE_RECAPTCHA_BADGEHIDE` to true, you can hide 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')
```

##### Usage with Javascript frameworks like VueJS:

[](#usage-with-javascript-frameworks-like-vuejs)

The `render()` process includes three distinct sections that can be rendered separately incase you're using the package with a framework like VueJS which throws console errors when `` tags are included in templates.

You can render the polyfill (do this somewhere like the head of your HTML:)

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

// Or with blade directive:
@captchaPolyfill
```

You can render the HTML using this following, this needs to be INSIDE your `` tag:

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

// Or with blade directive:
@captchaHTML
```

And you can render the neccessary `` tags including the optional language support by using:

```
// The argument is optional.
{!! app('captcha')->renderFooterJS('en') !!}

// Or with blade directive:
@captchaScripts

// blade directive, with language support:
@captchaScripts('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 author of fworked no-captcha package)
- [Contributors](https://github.com/oriceon/invisible-recaptcha/graphs/contributors)

###  Health Score

47

—

FairBetter than 94% of packages

Maintenance88

Actively maintained with recent releases

Popularity12

Limited adoption so far

Community18

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 66.4% 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 ~182 days

Total

5

Last Release

60d ago

PHP version history (2 changes)2.0.0PHP ^8.2

2.0.4PHP ^8.2|^8.3|^8.4|^8.5

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a9692bf91992f959404944cecec65e1b68b21491ec3c5642e67e47a836d9ea8?d=identicon)[oriceon](/maintainers/oriceon)

---

Top Contributors

[![albertcht](https://avatars.githubusercontent.com/u/9117929?v=4)](https://github.com/albertcht "albertcht (97 commits)")[![oriceon](https://avatars.githubusercontent.com/u/358823?v=4)](https://github.com/oriceon "oriceon (10 commits)")[![danmatthews](https://avatars.githubusercontent.com/u/149426?v=4)](https://github.com/danmatthews "danmatthews (7 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)")[![sald19](https://avatars.githubusercontent.com/u/1674971?v=4)](https://github.com/sald19 "sald19 (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)")[![boblennes](https://avatars.githubusercontent.com/u/5143474?v=4)](https://github.com/boblennes "boblennes (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)")

---

Tags

phplaravelrecaptchacaptchalaravel5invisibleno-captchainvisible-recaptcha

###  Code Quality

TestsPHPUnit

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/oriceon-invisible-recaptcha/health.svg)](https://phpackages.com/packages/oriceon-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)
