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

ActiveLibrary

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 today

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 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity37

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

1865d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e6cba6aad03d106dced1e5cd06c404e0c7b814a7a42e3fd36c26be4f9b1ce3aa?d=identicon)[xcaro](/maintainers/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

[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.4k10.6M274](/packages/laravel-boost)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[roots/acorn

Framework for Roots WordPress projects built with Laravel components.

9682.1M97](/packages/roots-acorn)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[clickbar/laravel-magellan

This package provides functionality for working with the postgis extension in Laravel.

423715.4k1](/packages/clickbar-laravel-magellan)[laravel-notification-channels/discord

Laravel notification driver for Discord.

2371.3M11](/packages/laravel-notification-channels-discord)

PHPackages © 2026

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