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 3w ago

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 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity63

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

2783d 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

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.5k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[craftcms/cms

Craft CMS

3.6k3.6M3.0k](/packages/craftcms-cms)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k13](/packages/tempest-framework)[files.com/files-php-sdk

Files.com PHP SDK

2481.1k](/packages/filescom-files-php-sdk)

PHPackages © 2026

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