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

ActiveLibrary[Security](/categories/security)

coderscoop/laravel-recaptcha
============================

Google Recaptcha - Laravel integration

v1.1.0(8y ago)225MITPHP

Since May 8Pushed 8y ago1 watchersCompare

[ Source](https://github.com/Coder-Scoop-Inc/laravel-recaptcha)[ Packagist](https://packagist.org/packages/coderscoop/laravel-recaptcha)[ RSS](/packages/coderscoop-laravel-recaptcha/feed)WikiDiscussions master Synced 2mo ago

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

laravel-recaptcha
=================

[](#laravel-recaptcha)

Google Recaptcha - Laravel integration

### Install

[](#install)

- You can install directly using composer `composer require coderscoop/laravel-recaptcha`
- Or include the package to your composer.json

```

"require": {
    "coderscoop/laravel-recaptcha": "*"
}

```

- Or download it directly from the github repository
- And run `composer install` or `composer update`

```

"require": {
    "coderscoop/laravel-recaptcha": "*"
},
"repositories": [
    {
        "type": "git",
        "url": "git@github.com:Coder-Scoop-Inc/laravel-recaptcha.git"
    }
]

```

- And run `composer install` or `composer update`

### Usage

[](#usage)

- Add `Coderscoop\LaravelReCaptcha\ReCaptchaServiceProvider::class`, to the providers array in config\\app.php.
- Add `'ReCaptcha' => Coderscoop\LaravelReCaptcha\Facade\ReCaptchaFacade::class`, to the aliases array in config\\app.php.
- Add `RECAPTCHA_PUBLIC_KEY` and `RECAPTCHA_PRIVATE_KEY` to your .env file with the public and private keys.
- Add the recaptcha field to your form `{!! ReCaptcha::render() !!}`
- Optionally you can pass the recaptcha attributes as an array

    ```
        {!!
            ReCaptcha::render([
                'theme' => 'light',
                'includeScript' => true,
                'responsive' => true
            ])
        !!}

    ```

    - `theme`: The google recaptcha theme
    - `includeScript`: If includes or no the google recaptcha script
    - `responsive`: Makes the field responsive or no
- Or you can interact directly with the class api in your controller by adding `use ReCaptcha;`.
- Add the recaptcha validation rule `'g-recaptcha-response' => 'required|recaptcha'`
- Enjoy it!

### Extra

[](#extra)

- You could publish the recaptcha config file using `php artisan vendor:publish --tag=config` and you will have access to the recaptcha config file in `app/config/recaptcha.php`

### ToDo

[](#todo)

- Add support for noscript
- Add language file
- Add support to integration with LaravelCollective

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

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 ~3 days

Total

3

Last Release

3283d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a410b633396164bd9bcb3a56d298f8a9a0f6ca8ca916002d6487a4510bf146b?d=identicon)[SamyOteroGlez](/maintainers/SamyOteroGlez)

![](https://www.gravatar.com/avatar/9feb9576ab30627da787029d029303d0822712ab4dc08d5f339e4386a4c61861?d=identicon)[GuinivereJane](/maintainers/GuinivereJane)

---

Top Contributors

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

---

Tags

laravelgooglesecurityrecaptchacaptcharobot detectionanti robotcoderscoop

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[phelium/recaptcha

reCAPTCHA v2 class

4389.4k](/packages/phelium-recaptcha)[cake17/cakephp-recaptcha

\[DEPRECIATED\] Please use https://github.com/cakephp-fr/recaptcha/

1211.0k1](/packages/cake17-cakephp-recaptcha)

PHPackages © 2026

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