PHPackages                             spaanproductions/laravel-google-recaptcha-enterprise - 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/laravel-google-recaptcha-enterprise

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

spaanproductions/laravel-google-recaptcha-enterprise
====================================================

This is my package laravel-google-recaptcha-enterprise

v1.0.1(1y ago)01.3kMITPHPPHP ^8.0CI failing

Since Feb 24Pushed 1y ago1 watchersCompare

[ Source](https://github.com/spaanproductions/laravel-google-recaptcha-enterprise)[ Packagist](https://packagist.org/packages/spaanproductions/laravel-google-recaptcha-enterprise)[ Docs](https://github.com/spaanproductions/laravel-google-recaptcha-enterprise)[ GitHub Sponsors](https://github.com/SpaanProductions)[ RSS](/packages/spaanproductions-laravel-google-recaptcha-enterprise/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (2)Dependencies (5)Versions (3)Used By (0)

This is my package laravel-google-recaptcha-enterprise
======================================================

[](#this-is-my-package-laravel-google-recaptcha-enterprise)

[![Latest Version on Packagist](https://camo.githubusercontent.com/2086ed71082e9f6354a054fdbc051a33e76e5a0ee053b70243864d5297963636/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f737061616e70726f64756374696f6e732f6c61726176656c2d676f6f676c652d7265636170746368612d656e74657270726973652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spaanproductions/laravel-google-recaptcha-enterprise)[![Total Downloads](https://camo.githubusercontent.com/54fdc1e11654b6481d9041ca68ca12dea53c0b8be968c1a1da7f87bad28f242b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f737061616e70726f64756374696f6e732f6c61726176656c2d676f6f676c652d7265636170746368612d656e74657270726973652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/spaanproductions/laravel-google-recaptcha-enterprise)

This is where your description should go. Limit it to a paragraph or two. Consider adding a small example.

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

[](#installation)

You can install the package via composer:

```
composer require spaanproductions/laravel-google-recaptcha-enterprise
```

Optionally, you can publish the config file with:

```
php artisan vendor:publish --tag="google-recaptcha-enterprise-config"
```

Optionally, you can publish the views using

```
php artisan vendor:publish --tag="google-recaptcha-enterprise-views"
```

Usage
-----

[](#usage)

Create a recaptcha key in the Google Console:

Create a Service Account in the same project with the role: `reCAPTCHA Enterprise Agent` via:

Than add an key with the JSON type in that service account. And add the credentials from that JSON in your `.env`:

```
# Google Recaptcha (enterprise)
GOOGLE_RECAPTCHA_SITEKEY=""
GOOGLE_RECAPTCHA_PROJECT_ID=""
RECAPTCHA_ENTERPRISE_PRIVATE_KEY_ID=""
RECAPTCHA_ENTERPRISE_PRIVATE_KEY=""
RECAPTCHA_ENTERPRISE_CLIENT_EMAIL=""
RECAPTCHA_ENTERPRISE_CLIENT_ID=""

# Optional
GOOGLE_RECAPTCHA_SCORE_THRESHOLD=0.7
```

Add the Captcha Scripts tot the `` of the page

```

@captchaScripts()

```

Use the recaptcha button instead of the submit button

```

    Submit

```

Add the rule to your controller or FormRequest:

```
use SpaanProductions\LaravelGoogleRecaptchaEnterprise\Rules\GoogleRecaptchaRule;

request()->validate([
    'g-recaptcha-response' => ['required', new GoogleRecaptchaRule, 'exclude'],
])
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Sonny Spaan](https://github.com/spaanproductions)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

33

—

LowBetter than 75% of packages

Maintenance46

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 61% 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 ~41 days

Total

2

Last Release

401d ago

### Community

Maintainers

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

---

Top Contributors

[![freekmurze](https://avatars.githubusercontent.com/u/483853?v=4)](https://github.com/freekmurze "freekmurze (366 commits)")[![mvdnbrk](https://avatars.githubusercontent.com/u/802681?v=4)](https://github.com/mvdnbrk "mvdnbrk (46 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (23 commits)")[![Nielsvanpach](https://avatars.githubusercontent.com/u/10651054?v=4)](https://github.com/Nielsvanpach "Nielsvanpach (23 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (17 commits)")[![pforret](https://avatars.githubusercontent.com/u/474312?v=4)](https://github.com/pforret "pforret (16 commits)")[![sebastiandedeyne](https://avatars.githubusercontent.com/u/1561079?v=4)](https://github.com/sebastiandedeyne "sebastiandedeyne (14 commits)")[![patinthehat](https://avatars.githubusercontent.com/u/5508707?v=4)](https://github.com/patinthehat "patinthehat (10 commits)")[![riasvdv](https://avatars.githubusercontent.com/u/3626559?v=4)](https://github.com/riasvdv "riasvdv (9 commits)")[![crynobone](https://avatars.githubusercontent.com/u/172966?v=4)](https://github.com/crynobone "crynobone (8 commits)")[![AdrianMrn](https://avatars.githubusercontent.com/u/12762044?v=4)](https://github.com/AdrianMrn "AdrianMrn (8 commits)")[![AlexVanderbist](https://avatars.githubusercontent.com/u/6287961?v=4)](https://github.com/AlexVanderbist "AlexVanderbist (7 commits)")[![thecaliskan](https://avatars.githubusercontent.com/u/13554944?v=4)](https://github.com/thecaliskan "thecaliskan (5 commits)")[![irfanm96](https://avatars.githubusercontent.com/u/42065936?v=4)](https://github.com/irfanm96 "irfanm96 (5 commits)")[![IGedeon](https://avatars.githubusercontent.com/u/694313?v=4)](https://github.com/IGedeon "IGedeon (4 commits)")[![abenerd](https://avatars.githubusercontent.com/u/7523903?v=4)](https://github.com/abenerd "abenerd (3 commits)")[![jessarcher](https://avatars.githubusercontent.com/u/4977161?v=4)](https://github.com/jessarcher "jessarcher (3 commits)")[![koossaayy](https://avatars.githubusercontent.com/u/6431084?v=4)](https://github.com/koossaayy "koossaayy (3 commits)")[![lloricode](https://avatars.githubusercontent.com/u/8251344?v=4)](https://github.com/lloricode "lloricode (3 commits)")[![medilies](https://avatars.githubusercontent.com/u/35309918?v=4)](https://github.com/medilies "medilies (3 commits)")

---

Tags

laravelspaanproductionslaravel-google-recaptcha-enterprise

### Embed Badge

![Health badge](/badges/spaanproductions-laravel-google-recaptcha-enterprise/health.svg)

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

###  Alternatives

[spatie/laravel-permission

Permission handling for Laravel 12 and up

12.9k89.8M1.0k](/packages/spatie-laravel-permission)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[jeffgreco13/filament-breezy

A custom package for Filament with login flow, profile and teams support.

1.0k1.7M41](/packages/jeffgreco13-filament-breezy)[spatie/laravel-login-link

Quickly login to your local environment

4381.2M1](/packages/spatie-laravel-login-link)[ryangjchandler/laravel-cloudflare-turnstile

A simple package to help integrate Cloudflare Turnstile.

438896.6k2](/packages/ryangjchandler-laravel-cloudflare-turnstile)[spatie/laravel-passkeys

Use passkeys in your Laravel app

444494.4k16](/packages/spatie-laravel-passkeys)

PHPackages © 2026

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