PHPackages                             csuilong/luosimao-captcha - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. csuilong/luosimao-captcha

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

csuilong/luosimao-captcha
=========================

Luosimao Validator for Laravel 5 能用的我更新过了

V2.0.1(8y ago)018MITPHPPHP &gt;=5.4.0

Since Oct 23Pushed 8y ago1 watchersCompare

[ Source](https://github.com/wl496928838/luosimao-captcha)[ Packagist](https://packagist.org/packages/csuilong/luosimao-captcha)[ Docs](http://github.com/pokeguys/laravel-luosimao-captcha)[ RSS](/packages/csuilong-luosimao-captcha/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependencies (1)Versions (5)Used By (0)

Luosimao
========

[](#luosimao)

A Luosimao Validator for Laravel 5.

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

[](#installation)

Add the following line to the `require` section of `composer.json`:

```
"require": {
  "pokeguys/laravel-luosimao-captcha": "dev-master"
}
```

Setup
-----

[](#setup)

1. In `/config/app.php`, add the following to `providers`:

```
'providers' => [
    // Other Service Providers

    Pokeguys\Luosimao\LuosimaoServiceProvider::class,
],
```

and the following to `aliases`:

```
'aliases' => [
  // Other Aliases

  'Luosimao' => Pokeguys\Luosimao\Facades\Luosimao::class,
],
```

2. Run `php artisan vendor:publish --provider="Pokeguys\Luosimao\LuosimaoServiceProvider"`.
3. In `/config/luosimao.php`, enter your Luosimao public and private keys.
4. The package ships with a default validation message, but if you want to customize it, add the following line into `resources/lang/[lang]/validation.php`:

```
[
  // Other validation message

  'luosimao' => 'The :attribute field is not correct.',
]
```

Usage
-----

[](#usage)

In your validation rules, add the following:

```
$rules = [
    // ...
    'luosimao' => 'required|luosimao',
];
```

```
        $this->validate($request,[
            'luotest_response' => 'required|luosimao',
        ],[
            'luotest_response.required'  => '请点按验证码！',
            'luotest_response.luosimao'  => '验证码错误，请重试。',
        ]);
```

It's also recommended to add `required` when validating.

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 78.9% 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 ~32 days

Total

4

Last Release

3028d ago

Major Versions

1.0.1 → 2.0.02018-01-27

### Community

Maintainers

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

---

Top Contributors

[![PokeGuys](https://avatars.githubusercontent.com/u/5060799?v=4)](https://github.com/PokeGuys "PokeGuys (15 commits)")[![wl496928838](https://avatars.githubusercontent.com/u/7980509?v=4)](https://github.com/wl496928838 "wl496928838 (4 commits)")

---

Tags

laravelcaptchalaravel5LuoSiMao

### Embed Badge

![Health badge](/badges/csuilong-luosimao-captcha/health.svg)

```
[![Health](https://phpackages.com/badges/csuilong-luosimao-captcha/health.svg)](https://phpackages.com/packages/csuilong-luosimao-captcha)
```

###  Alternatives

[schuppo/password-strength

This package provides a validator for ensuring strong passwords in Laravel 4 applications.

1432.7M1](/packages/schuppo-password-strength)[elic-dev/laravel-math-captcha

A simple math captcha for Laravel form validation.

1156.7k](/packages/elic-dev-laravel-math-captcha)[bllim/laravalid

This package makes validation rules defined in laravel work client-side by converting to html/js plugins such as jquery validation. It also allows to use laravel validation messages so you can show same messages for both sides.

5915.2k](/packages/bllim-laravalid)[mohsen/captcha

A simple captcha for laravel 4

125.2k](/packages/mohsen-captcha)

PHPackages © 2026

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