PHPackages                             mmilidoni/grecaptcha - 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. mmilidoni/grecaptcha

ActiveLibrary

mmilidoni/grecaptcha
====================

Google Recaptcha Utilities

121PHP

Since Jul 27Pushed 8y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

laravel-grecaptcha
==================

[](#laravel-grecaptcha)

This package allows an easily management of Google Recaptcha on your Laravel projects.

Prerequisites
-------------

[](#prerequisites)

Google Recaptcha V2 *site key* and *secret key* available on [ReCAPTCHA website](https://www.google.com/recaptcha/)

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

[](#installation)

`composer require "mmilidoni/grecaptcha:dev-master"`

### Configuration

[](#configuration)

Add your Recaptcha *site key* and *secret key* on `config/services.php`

```
"grecaptcha" => [
        "secret" => "*****",
        "sitekey" => "****",
    ],
```

### View

[](#view)

Insert the following line on your HTML header

```

```

Insert the following line on your HTML form

```

```

### Controller

[](#controller)

```
use Mmilidoni\Grecaptcha\Grecaptcha;

class Example {
	public function store(\Illuminate\Http\Request $request) {
	  $a = new Grecaptcha;
	  if ($a->check($request)) {
    	// Recaptcha OK
	  } else {
    	// Recaptcha KO
	  }
	}
}
```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/ed82fec3fd3df16d6f245deae033e21378420647917d75867ed94f33fa37770d?d=identicon)[mmilidoni](/maintainers/mmilidoni)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mmilidoni-grecaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/mmilidoni-grecaptcha/health.svg)](https://phpackages.com/packages/mmilidoni-grecaptcha)
```

PHPackages © 2026

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