PHPackages                             abanoubnassem/filament-grecaptcha-field - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. abanoubnassem/filament-grecaptcha-field

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

abanoubnassem/filament-grecaptcha-field
=======================================

Provides a Google reCaptcha V2 field for the Filament Forms

v0.0.12(3mo ago)27135.4k↓40.4%14[1 issues](https://github.com/AbanoubNassem/filament-grecaptcha-field/issues)2MITPHPPHP ^8.0|^8.1|^8.2|^8.3|^8.4CI passing

Since Oct 20Pushed 3mo ago2 watchersCompare

[ Source](https://github.com/AbanoubNassem/filament-grecaptcha-field)[ Packagist](https://packagist.org/packages/abanoubnassem/filament-grecaptcha-field)[ Docs](https://github.com/abanoubnassem/filament-grecaptcha-field)[ RSS](/packages/abanoubnassem-filament-grecaptcha-field/feed)WikiDiscussions main Synced 2w ago

READMEChangelog (10)Dependencies (20)Versions (13)Used By (2)

[![](https://cloud.githubusercontent.com/assets/1529454/5291635/1c426412-7b88-11e4-8d16-46161a081ece.gif)](https://github.com/AbanoubNassem/filament-grecaptcha-field)

Provides a Google reCaptcha V2 field for the Filament Forms(V2-V3-V4), works in `Admin-Panel` and `Forntend-Forms`.
===================================================================================================================

[](#provides-a-google-recaptcha-v2-field-for-the-filament-formsv2-v3-v4-works-in-admin-panel-and-forntend-forms)

[![Latest Version on Packagist](https://camo.githubusercontent.com/34a7ced2b24d16a461c8ba223689d05d6c794cd8af1073a9f8a256f00d75af27/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6162616e6f75626e617373656d2f66696c616d656e742d677265636170746368612d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abanoubnassem/filament-grecaptcha-field)[![Total Downloads](https://camo.githubusercontent.com/4bceaf29015ddea45cd7c26f8b9b83937214749d851cbe8791c0124c8d15227d/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6162616e6f75626e617373656d2f66696c616d656e742d677265636170746368612d6669656c642e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/abanoubnassem/filament-grecaptcha-field)

This plugin is built on top of [anhskohbo/no-captcha](https://github.com/anhskohbo/no-captcha) package.

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

[](#installation)

You can install the package via composer:

```
composer require abanoubnassem/filament-grecaptcha-field
```

Since the package depends on [anhskohbo/no-captcha](https://github.com/anhskohbo/no-captcha) package. You may publish the configuration by running:

```
php artisan vendor:publish --provider="Anhskohbo\NoCaptcha\NoCaptchaServiceProvider"
```

### Configuration

[](#configuration)

Add `NOCAPTCHA_SECRET` and `NOCAPTCHA_SITEKEY` in **.env** file :

```
NOCAPTCHA_SECRET=secret-key
NOCAPTCHA_SITEKEY=site-key

```

(You can obtain them from [here](https://www.google.com/recaptcha/admin))

Usage
-----

[](#usage)

```
use AbanoubNassem\FilamentGRecaptchaField\Forms\Components\GRecaptcha;

// admin panel
    public static function form(Form $form): Form
    {
        return $form->schema([
                    ...
                    GRecaptcha::make('captcha')
                ]);
     }

//forntend-forms
    public $captcha = ''; // must be initialized
    protected function getFormSchema(): array
    {
        return [
            ....
             GRecaptcha::make('captcha')
        ];
    }
```

Changelog
---------

[](#changelog)

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

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

[](#security-vulnerabilities)

If you discover any security related issues, please create an issue.

License
-------

[](#license)

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

###  Health Score

55

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity45

Moderate usage in the ecosystem

Community21

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 82.9% 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 ~116 days

Recently: every ~110 days

Total

12

Last Release

118d ago

PHP version history (4 changes)v0.0.1PHP ^8.0|^8.1

v0.0.6PHP ^8.0|^8.1|^8.2

v0.0.7PHP ^8.0|^8.1|^8.2|^8.3

v0.0.12PHP ^8.0|^8.1|^8.2|^8.3|^8.4

### Community

Maintainers

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

---

Top Contributors

[![AbanoubNassem](https://avatars.githubusercontent.com/u/13698722?v=4)](https://github.com/AbanoubNassem "AbanoubNassem (29 commits)")[![chengkangzai](https://avatars.githubusercontent.com/u/43839286?v=4)](https://github.com/chengkangzai "chengkangzai (2 commits)")[![icaliman](https://avatars.githubusercontent.com/u/4498933?v=4)](https://github.com/icaliman "icaliman (2 commits)")[![alkoumi](https://avatars.githubusercontent.com/u/10585943?v=4)](https://github.com/alkoumi "alkoumi (1 commits)")[![Jacotheron](https://avatars.githubusercontent.com/u/1516245?v=4)](https://github.com/Jacotheron "Jacotheron (1 commits)")

---

Tags

filamentlaravelphprecaptcha-v2laravelgooglerecaptchacaptchagrecaptchaAbanoubNassemfilament-grecaptcha-field

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/abanoubnassem-filament-grecaptcha-field/health.svg)

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

###  Alternatives

[codewithdennis/filament-select-tree

The multi-level select field enables you to make single selections from a predefined list of options that are organized into multiple levels or depths.

329575.9k35](/packages/codewithdennis-filament-select-tree)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.2k12.6M141](/packages/dedoc-scramble)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3915.5k](/packages/rawilk-profile-filament-plugin)[harris21/laravel-fuse

Circuit breaker for Laravel queue jobs. Protect your workers from cascading failures.

46273.9k](/packages/harris21-laravel-fuse)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

25060.1k](/packages/vormkracht10-laravel-mails)[danihidayatx/image-optimizer

Optimize your Filament images before they reach your database. Forked from joshembling/image-optimizer for Filament v4 &amp; v5 support.

3423.0k1](/packages/danihidayatx-image-optimizer)

PHPackages © 2026

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