PHPackages                             binarycabin/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. binarycabin/recaptcha

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

binarycabin/recaptcha
=====================

A laravel package for easy ReCAPTCHA integration

1.0.0(7y ago)165MITPHP

Since Mar 7Pushed 7y agoCompare

[ Source](https://github.com/binarycabin/recaptcha)[ Packagist](https://packagist.org/packages/binarycabin/recaptcha)[ RSS](/packages/binarycabin-recaptcha/feed)WikiDiscussions master Synced 4d ago

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

Recaptcha
=========

[](#recaptcha)

[![Build Status](https://camo.githubusercontent.com/8533b7e582a5a9201a0cd38d202e3d4f8b3073a0363756eb5eaff96480d33ad6/68747470733a2f2f7472617669732d63692e6f72672f62696e617279636162696e2f7265636170746368612e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/binarycabin/recaptcha)[![StyleCI](https://camo.githubusercontent.com/686e5b566ef918620abf8553bbd13479327e7053b7c9a131fa2282b55a95f90d/68747470733a2f2f6769746875622e7374796c6563692e696f2f7265706f732f3137343338333034302f736869656c643f6272616e63683d6d6173746572)](https://github.styleci.io/repos/174383040)[![Latest Stable Version](https://camo.githubusercontent.com/a4ce8ae44bdfe64033c3e70e3bf4cb5531651b95a553b44de0501b3921cfdd5b/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f62696e617279636162696e2f7265636170746368612e7376673f7374796c653d666c6174)](https://packagist.org/packages/binarycabin/recaptcha)[![Total Downloads](https://camo.githubusercontent.com/d6f4bb284926c9fdedb272e6c1a0397b46d5652fe8f18300274335d986836271/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f62696e617279636162696e2f7265636170746368612e7376673f7374796c653d666c6174)](https://packagist.org/packages/binarycabin/recaptcha)

A laravel package for easy ReCAPTCHA integration

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

[](#installation)

```
composer require binarycabin/recaptcha

```

Publish your configuration file

```
php artisan vendor:publish --provider="BinaryCabin\Recaptcha\Providers\RecaptchaServiceProvider" --tag="config"

```

Update your environment variables:

```
RECAPTCHA_VERSION=3
RECAPTCHA_SITE_KEY=""
RECAPTCHA_SECRET_KEY=""

```

For local sites or test environments you can also disable recaptcha verification using:

```
RECAPTCHA_ENABLE=false

```

Usage
-----

[](#usage)

At the end of your page, add the scripts needed for Google Recaptcha:

```
{!! Recaptcha::scripts() !!}

```

And within your form, add the hidden input that will contain your recaptcha token:

```
{!! Recaptcha::hiddenInput() !!}

```

Finally, add the validation in your controller:

```
$this->validate($request, [
    'recaptcha-token' => 'recaptcha',
]);
```

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

[](#contributing)

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

Please make sure to update tests as appropriate.

License
-------

[](#license)

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

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

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

Unknown

Total

1

Last Release

2626d ago

### Community

Maintainers

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

---

Top Contributors

[![kilrizzy](https://avatars.githubusercontent.com/u/132478?v=4)](https://github.com/kilrizzy "kilrizzy (6 commits)")

---

Tags

laravel

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[highideas/laravel-users-online

This package will provide an online users management.

203113.2k1](/packages/highideas-laravel-users-online)[stephenjude/filament-blog

Filament Blog Builder

20317.8k](/packages/stephenjude-filament-blog)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[datomatic/nova-detached-actions

A Laravel Nova tool to allow for placing actions in the Nova toolbar detached from the checkbox selection mechanism.

11229.2k](/packages/datomatic-nova-detached-actions)

PHPackages © 2026

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