PHPackages                             rmobis/recaptcha-laravel - 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. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. rmobis/recaptcha-laravel

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

rmobis/recaptcha-laravel
========================

A reCAPTCHA library with out of the box integration for the Laravel framework.

0.1.1(12y ago)117PHPPHP &gt;=5.4.0

Since Jun 22Pushed 7y ago1 watchersCompare

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

READMEChangelogDependencies (3)Versions (4)Used By (0)

Laravel Recaptcha
=================

[](#laravel-recaptcha)

A reCAPTCHA library with out of the box Laravel integration. This is merely a wrap for [romainneutron/ReCaptcha](https://github.com/romainneutron/ReCaptcha), as to add Laravel integration, therefore, all methods present in the `Neutron/ReCaptcha\ReCaptcha` class are also available here.

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

[](#installation)

The best way to install the package is through Composer.

**composer.json**

```
"require": {
	"rmobis/recaptcha-laravel": "0.1.*"
}
```

**app/config/app.php**

```
// Providers
'Rmobis\Recaptcha\RecaptchaServiceProvider'
```

...

```
// Aliases
'Recaptcha' => 'Rmobis\Recaptcha\Facade',
```

Configuration
-------------

[](#configuration)

This is where you'll set up your public and private keys, as well as your [customization options](https://developers.google.com/recaptcha/docs/customization). To export the configuration file, do:

```
php artisan config:publish rmobis/recaptcha-laravel

```

Features
--------

[](#features)

### Laravelish Syntax

[](#laravelish-syntax)

This allows you to use the Recaptcha class in the same way you use all Laravel classes, keeping your code shining and awesome. For instance, if you were to manually check if a given request was correctly made, this is how you'd do it.

```
$challenge = Input::get('recaptcha_challenge_field');
$response = Input::get('recaptcha_response_field');

if (Recaptcha::check($challenge, $response)) {
    // reCAPTCHA verified
} else {
    // reCAPTCHA failed
}
```

### Validation Rule

[](#validation-rule)

This gives you a new validation rule, just like the other ones, which allows you to easily validate all your forms with reCAPTCHA. Simply add it to your validation rules array, and it'll do the magic.

```
$validator = Validator::make(array(
	'recaptcha_response_field' => Input::all(),
	// ...
), array(
	'recaptcha_response_field' => 'recaptcha',
	// ...
));

if ($validator->passes()) {
	// reCAPTCHA verified
} else {
	// reCAPTCHA failed
}
```

### Form Macro

[](#form-macro)

Gives you an easy way to quickly output all the code needed to output the reCAPTCHA widget. Optionally, you can pass an `$options` array, to override and extend the default options, set in the configuration file.

```
Form::recaptcha(array('theme' => 'clean'))
```

Generates:

```

	var RecaptchaOptions = {"theme":"clean"};

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Every ~26 days

Total

2

Last Release

4681d ago

### Community

Maintainers

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

---

Top Contributors

[![rmobis](https://avatars.githubusercontent.com/u/2119933?v=4)](https://github.com/rmobis "rmobis (5 commits)")

### Embed Badge

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

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

###  Alternatives

[laragear/two-factor

On-premises 2FA Authentication for out-of-the-box.

339785.3k8](/packages/laragear-two-factor)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[truckersmp/steam-socialite

Laravel Socialite provider for Steam OpenID.

1516.7k](/packages/truckersmp-steam-socialite)[pschocke/laravel-telegram-login-widget

Easily integrate Telegrams login widget into your Laravel application to send Telegram messages

1610.4k](/packages/pschocke-laravel-telegram-login-widget)

PHPackages © 2026

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