PHPackages                             unodepiera/simplerecaptcha - 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. unodepiera/simplerecaptcha

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

unodepiera/simplerecaptcha
==========================

Simple recaptcha for laravel 4

0452PHP

Since Aug 21Pushed 12y ago1 watchersCompare

[ Source](https://github.com/uno-de-piera/simplerecaptcha)[ Packagist](https://packagist.org/packages/unodepiera/simplerecaptcha)[ RSS](/packages/unodepiera-simplerecaptcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

SimpleRecaptcha for Laravel 4
-----------------------------

[](#simplerecaptcha-for-laravel-4)

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

[](#installation)

Open your composer.json and add the next code

```
{
	"require": {
	    "laravel/framework": "4.0.*",
	    "unodepiera/simplerecaptcha": "dev-master"
	},
	"minimum-stability": "dev"
}
```

Update your packages with `composer update` or install with `composer install`.

Find the providers key in app/config/app.php and register the Simplecart Service Provider.

```
	'providers' => array(
        //...
        'Unodepiera\Simplerecaptcha\SimplerecaptchaServiceProvider'
    )
```

Find the aliases key in app/config/app.php.

```
	'aliases' => array(
        //...
        'Simplerecaptcha' => 'Unodepiera\Simplerecaptcha\Facades\Simplerecaptcha',
    )
```

Publish config with this command.

`$ php artisan config:publish unodepiera/simplerecaptcha`

Example Usage SimpleRecaptcha
-----------------------------

[](#example-usage-simplerecaptcha)

If you need keys recaptcha api go here.

- [Recaptcha keys](https://www.google.com/recaptcha/admin/create)

Then set the config file with keys provides from recaptcha, the file config is saved in the directory app\\config\\packages\\unodepiera\\simplerecaptcha\\config.php after publication.

Configuration

```
return array(

    /*
    | Set the public keys as provided by reCAPTCHA.
    */

    'public_key'    =>      '',

    /*
    | Set the public keys as provided by reCAPTCHA.
    */

    'private_key'   =>      '',

    /*
    | Set the the theme you want for the reCAPTCHA.
    | Options: red, white, clean and blackglass.
    */

    'theme'         =>      'clean',

    /*
    *
    *
    | Options buttons you want for reCAPTCHA.
    *
    *
    */

    /*
    | Set the the text you want for field text reCAPTCHA.
    */

    'textfield'     =>      'Write what you see',

    /*
    | Set the the text you want for field sound text reCAPTCHA.
    */

    'soundfield'    =>      'Write what you hear',

    /*
    | Set the the text you want for title button visual reCAPTCHA.
    */
    'visual_challenge'  =>      'Visual mode',

    /*
    | Set the the text you want for title button audio reCAPTCHA.
    */
    'audio_challenge'   =>      'Audio mode',

    /*
    | Set the the text you for title button reload reCAPTCHA.
    */
    'refresh_btn'   =>      'Ask two new words',

    /*
    | Set the the text you want for title button help reCAPTCHA.
    */
    'help_btn'  =>      'Help',

    /*
    | Set the message incorrect text reCAPTCHA.
    */
    'incorrect_try_again'   =>      'Incorrect. Try again',

);
```

Usage
-----

[](#usage)

```
Route::get("form", function()
{

    $html = "";
    $html.= Form::recaptcha();
    $html.= "";

    echo $html;
});

Route::post("check", function()
{
    $rules =  array('recaptcha_response_field' => array('required', 'recaptcha'));
    $validator = Validator::make(Input::all(), $rules);
    if($validator->fails())
    {
        echo "fails";
    }else{
        echo "success";
    }
});
```

Visit me
--------

[](#visit-me)

- [Visit me](http://uno-de-piera.com)
- [SimpleRecaptcha on Packagist](https://packagist.org/packages/unodepiera/simplerecaptcha)
- [License](http://www.opensource.org/licenses/mit-license.php)
- [Laravel website](http://laravel.com)-

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/869a644a1fba01392533fea7c25eadde27caa339a7b6cd71e4e4ef18f2351f49?d=identicon)[unodepiera](/maintainers/unodepiera)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/unodepiera-simplerecaptcha/health.svg)

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

###  Alternatives

[namshi/jose

JSON Object Signing and Encryption library for PHP.

1.8k99.6M101](/packages/namshi-jose)[league/oauth1-client

OAuth 1.0 Client Library

99698.8M106](/packages/league-oauth1-client)[bezhansalleh/filament-shield

Filament support for `spatie/laravel-permission`.

2.8k2.9M88](/packages/bezhansalleh-filament-shield)[gesdinet/jwt-refresh-token-bundle

Implements a refresh token system over Json Web Tokens in Symfony

70516.4M35](/packages/gesdinet-jwt-refresh-token-bundle)[league/oauth2-google

Google OAuth 2.0 Client Provider for The PHP League OAuth2-Client

41721.2M117](/packages/league-oauth2-google)[illuminate/auth

The Illuminate Auth package.

9327.3M1.0k](/packages/illuminate-auth)

PHPackages © 2026

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