PHPackages                             nguyentranchung/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. nguyentranchung/laravel-google-recaptcha

ActiveLaravel-package[Security](/categories/security)

nguyentranchung/laravel-google-recaptcha
========================================

Google recaptcha v2

2.0.0(7y ago)181MITPHP

Since Nov 18Pushed 7y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (1)Versions (3)Used By (0)

Tích hợp Google reCAPTCHA v2 vào dự án Laravel
==============================================

[](#tích-hợp-google-recaptcha-v2-vào-dự-án-laravel)

Cài đặt
-------

[](#cài-đặt)

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

In .env
-------

[](#in-env)

```
GOOGLE_RECAPTCHA_KEY="your-google-recaptcha-key"
GOOGLE_RECAPTCHA_SECRET="your-google-recaptcha-secret"

```

In view
-------

[](#in-view)

```

```

In controller
-------------

[](#in-controller)

```
class PostController extends Controller
{
    public function store(Request $request)
    {
        $datas = $request->validate([
            // ...
            'g-recaptcha-response' => 'required|recaptcha',
        ]);
    }
}
// hoặc ở trong FormRequest
class PostStoreRequest extends FormRequest
{
    /**
     * Get the validation rules that apply to the request.
     *
     * @return array
     */
    public function rules()
    {
        return [
            // ...
            'g-recaptcha-response' => 'required|recaptcha',
        ];
    }
}
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity62

Established project with proven stability

 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

Every ~0 days

Total

2

Last Release

2733d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0d0f3c4c484def533574ea61cb98cac3271481ba99fa394be5b48a2195d624d7?d=identicon)[nguyentranchung](/maintainers/nguyentranchung)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[akaunting/laravel-firewall

Web Application Firewall (WAF) package for Laravel

999465.8k2](/packages/akaunting-laravel-firewall)[paragonie/certainty

Up-to-date, verifiable repository for Certificate Authorities

2642.4M20](/packages/paragonie-certainty)[dgtlss/warden

A Laravel package that proactively monitors your dependencies for security vulnerabilities by running automated composer audits and sending notifications via webhooks and email

8745.6k](/packages/dgtlss-warden)[acmephp/core

Raw implementation of the ACME protocol in PHP

38973.7k7](/packages/acmephp-core)[nickurt/laravel-pwned-passwords

PwnedPasswords for Laravel 11.x/12.x/13.x

187.5k](/packages/nickurt-laravel-pwned-passwords)

PHPackages © 2026

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