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

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

dearmadman/captcha
==================

Captcha for Laravel 5

v0.0.1(10y ago)0802MITPHP

Since Oct 8Pushed 9y ago1 watchersCompare

[ Source](https://github.com/DearMadMan/Captcha)[ Packagist](https://packagist.org/packages/dearmadman/captcha)[ RSS](/packages/dearmadman-captcha/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (2)Used By (0)

Captcha
=======

[](#captcha)

Simple Captcha for laravel 5

Preview
-------

[](#preview)

```
![alt Captcha](https://raw.githubusercontent.com/DearMadMan/Captcha/master/preview.jpg)

```

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

[](#installation)

The Captcha Service Provider can be installed via [Composer](http://getcomposer.org) by requiring the `dearmadman/captcha` package and setting the `minimum-stability` to `dev` (required for Laravel 5) in your project's `composer.json`.

```
{
    "require": {
        "laravel/framework": "5.0.*",
        "dearmadman/captcha": "dev-master"
    },
    "minimum-stability": "dev"
}
```

Usage
-----

[](#usage)

To use the Captcha Service Provider, you must register the provider when bootstrapping your Laravel application. There are essentially two ways to do this.

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

```
    'providers' => array(
        // ...
        'Dearmadman\Captcha\CaptchaServiceProvider',
    )
```

Example Usage
-------------

[](#example-usage)

```
    // [your site path]/app/routes.php

   Route::get('captcha',function(Captcha $captcha){

    $captcha->InitFromArray([
        'width'=>100,
        'height'=>50,
        'chinese'=>true,
        'char_num'=>5,
        'line_x'=>3,
        'line_y'=>2,
        'pixel'=>300
    ]);
    return $captcha->PushImage();

	});

    Route::get('check',function(Captcha $captcha){

    return $captcha->check('板迷的细财')?'ok':'wrong';

	});
```

^\_^

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity53

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

Unknown

Total

1

Last Release

3876d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/10eb59ef255beec9e950b9988f579488c0ae2a8a58e63a757ca27c9d2bdc973c?d=identicon)[DearMadMan](/maintainers/DearMadMan)

---

Top Contributors

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

---

Tags

laravel5capthcadearmadman

### Embed Badge

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

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

###  Alternatives

[anhskohbo/no-captcha

No CAPTCHA reCAPTCHA For Laravel.

1.8k8.5M33](/packages/anhskohbo-no-captcha)[albertcht/invisible-recaptcha

Invisible reCAPTCHA For Laravel.

6031.6M6](/packages/albertcht-invisible-recaptcha)[imanghafoori/laravel-heyman

A package to help you write expressive defensive code in a functional manner

92537.1k5](/packages/imanghafoori-laravel-heyman)[callmenp/lara-auth-bridge

Offers a simple API for the included custom phpBB authentication module. for phpBB3.0 and laravel5

161.1k](/packages/callmenp-lara-auth-bridge)

PHPackages © 2026

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