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

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

xcaro/laravel-recaptcha-api
===========================

reCaptcha for Laravel 5

v0.0.1(5y ago)371MITPHPPHP ^7.1.3CI failing

Since Apr 3Pushed 5y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (5)Versions (2)Used By (0)

Recaptcha for Laravel 5
=======================

[](#recaptcha-for-laravel-5)

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

[](#installation)

Require this package with composer. It is recommended to only require the package for development.

```
composer require xcaro/laravel-recaptcha-api

```

### Laravel 5.5+:

[](#laravel-55)

Add the ServiceProvider to the providers array in config/app.php:

```
xcaro\Recaptcha\RecaptchaServiceProvider::class,
```

and the following to `aliases`:

```
'Recaptcha' => xcaro\Recaptcha\Facades\Recaptcha::class,
```

Copy the package config to your local config with the publish command

```
php artisan vendor:publish --provider="xcaro\Recaptcha\RecaptchaServiceProvider"

```

Add settings reCAPTCHA in your `.env`

```
GOOGLE_RECAPTCHA_KEY="${public_key}"
GOOGLE_RECAPTCHA_SECRET="${secret_key}"

```

### Usage

[](#usage)

1. In your form, use `{!! Recaptcha::render() !!}` to echo out the markup.
2. In your validation rules, add the following:

```
$rules = [
	// your validation
	'g-recaptcha-response' => 'required|recaptcha', // reCaptcha validation
 ];
```

Customization
-------------

[](#customization)

### Language

[](#language)

Would default the language in all the reCAPTCHAs to English. If you want to further customize, you can pass options through the render option:

```
Recaptcha::render([ 'lang' => 'fr' ]);
```

Options passed into `Recaptcha::render` will always supersede the configuration.

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity38

Early-stage or recently created project

 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

1914d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32713050?v=4)[Nhan Vo](/maintainers/xcaro)[@xcaro](https://github.com/xcaro)

---

Top Contributors

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

---

Tags

laravellaravel-packagerecaptchalaravelrecaptcha

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[spatie/laravel-health

Monitor the health of a Laravel application

87411.3M154](/packages/spatie-laravel-health)[laravel/ai

The official AI SDK for Laravel.

1.0k2.1M163](/packages/laravel-ai)[laravel/sail

Docker files for running a basic Laravel application.

1.9k199.2M1.2k](/packages/laravel-sail)[laravel/boost

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.5k17.6M518](/packages/laravel-boost)[laravel/mcp

Rapidly build MCP servers for your Laravel applications.

77018.2M122](/packages/laravel-mcp)[spatie/laravel-export

Create a static site bundle from a Laravel app

672139.5k6](/packages/spatie-laravel-export)

PHPackages © 2026

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