PHPackages                             claudiusnascimento/recaptcha-v3 - 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. claudiusnascimento/recaptcha-v3

ActiveLibrary[Security](/categories/security)

claudiusnascimento/recaptcha-v3
===============================

Simple implementation of Google Recpatcha V3. Suport multiple forms in same page

1.0.0(7y ago)015MITPHPPHP &gt;=5.4.0

Since Apr 26Pushed 6y ago1 watchersCompare

[ Source](https://github.com/claudiusnascimento/recaptcha-v3)[ Packagist](https://packagist.org/packages/claudiusnascimento/recaptcha-v3)[ RSS](/packages/claudiusnascimento-recaptcha-v3/feed)WikiDiscussions master Synced today

READMEChangelog (2)DependenciesVersions (2)Used By (0)

#### Simple implementation of Google Recpatcha V3 to use in Laravel. Support multiple forms in same page

[](#simple-implementation-of-google-recpatcha-v3-to-use-in-laravel-support-multiple-forms-in-same-page)

### How to use:

[](#how-to-use)

#### Require the package

[](#require-the-package)

```
$ composer require claudiusnascimento/recaptcha-v3
```

### Add the service provider in providers array

[](#add-the-service-provider-in-providers-array)

```
ClaudiusNascimento\RecaptchaV3\RecaptchaV3ServiceProvider::class
```

### In the alias array add:

[](#in-the-alias-array-add)

```
'RecaptchaV3' => ClaudiusNascimento\RecaptchaV3\Facades\RecaptchaV3::class
```

### Go to Google Recaptcha and create new captcha:

[](#go-to-google-recaptcha-and-create-new-captcha)

###### \*\*\* Remember to choose reCAPTCHA v3 \*\*\*

[](#-remember-to-choose-recaptcha-v3-)

[Create New Recaptcha](https://www.google.com/recaptcha/admin/create)

### After that, add the site\_key and secret\_key in your ENV file

[](#after-that-add-the-site_key-and-secret_key-in-your-env-file)

```
RECAPTCHA_V3_SITE_KEY=
RECAPTCHA_V3_SECRET_KEY=
```

### Publish the config file for more control (if you want too)

[](#publish-the-config-file-for-more-control-if-you-want-too)

```
$ php artisan vendor:publish --provider="ClaudiusNascimento\RecaptchaV3\RecaptchaV3ServiceProvider" --tag="config"
```

Front-end
---------

[](#front-end)

Inside the `` tags add the following code:

```
{!! \RecaptchaV3::renderInput('some_action_control') !!}

```

Before closing tag ``tag put:

```
{!! \RecaptchaV3::renderJs() !!}

```

### In your form request add the following rule:

[](#in-your-form-request-add-the-following-rule)

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

... and you good to go :)

Contributing
------------

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

2573d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/claudiusnascimento-recaptcha-v3/health.svg)

```
[![Health](https://phpackages.com/badges/claudiusnascimento-recaptcha-v3/health.svg)](https://phpackages.com/packages/claudiusnascimento-recaptcha-v3)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[roave/security-advisories

Prevents installation of composer packages with known security vulnerabilities: no API, simply require it

2.9k97.3M6.4k](/packages/roave-security-advisories)[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41278.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

86917.5M63](/packages/bjeavons-zxcvbn-php)[enlightn/security-checker

A PHP dependency vulnerabilities scanner based on the Security Advisories Database.

33732.2M110](/packages/enlightn-security-checker)

PHPackages © 2026

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