PHPackages                             eskju/laravel-google-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. [Security](/categories/security)
4. /
5. eskju/laravel-google-recaptcha

ActiveLibrary[Security](/categories/security)

eskju/laravel-google-recaptcha
==============================

A Laravel package for banning bots from your forms

1.0.0(7y ago)1148MITPHPPHP &gt;=7.1

Since Feb 13Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (1)Versions (3)Used By (0)

laravel-google-recaptcha
========================

[](#laravel-google-recaptcha)

ReCaptcha for Laravel

Features:

- easy Google ReCaptcha (v2) integration via Facade
- simple Validator for your own ruleset

Usage
-----

[](#usage)

```
composer require eskju/laravel-google-recaptcha

```

Publish config and edit .env
----------------------------

[](#publish-config-and-edit-env)

```
php artisan vendor:publish --provider="Eskju\GoogleRecaptcha\GoogleRecaptchaServiceProvider" --tag="config"

```

Add Google ReCaptcha credentials to your .env file: (You cam obtain your key here: , select Version 2)

```
GOOGLE_RECAPTCHA_KEY=
GOOGLE_RECAPTCHA_SECRET=

```

Usage
-----

[](#usage-1)

Add the following snippet to your (form) template:

```
{{ GoogleRecaptcha::show() }}
{{ GoogleRecaptcha::js() }}

```

Add a new rule to your validation:

```
'g-recaptcha-response' => 'required|recaptcha'

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

2695d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/3262086?v=4)[Chris](/maintainers/esKju)[@eskju](https://github.com/eskju)

---

Top Contributors

[![eskju](https://avatars.githubusercontent.com/u/3262086?v=4)](https://github.com/eskju "eskju (2 commits)")

---

Tags

laravelgooglerecaptchacaptchaFormsbots

### Embed Badge

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

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

PHPackages © 2026

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