PHPackages                             yhbyun/laravel-securimage - 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. yhbyun/laravel-securimage

ActiveLibrary

yhbyun/laravel-securimage
=========================

Laravel 5 Securimage helper

v0.2.4(5y ago)31.1k9MITPHPPHP &gt;=5.5.0CI failing

Since Jul 11Pushed 5y ago2 watchersCompare

[ Source](https://github.com/yhbyun/laravel-securimage)[ Packagist](https://packagist.org/packages/yhbyun/laravel-securimage)[ Docs](https://github.com/yhbyun/laravel-securimage)[ RSS](/packages/yhbyun-laravel-securimage/feed)WikiDiscussions master Synced 1mo ago

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

Laravel 5 Securimage helper
===========================

[](#laravel-5-securimage-helper)

[![Build Status](https://camo.githubusercontent.com/85647b7aa8939206d9cdb1daa86c46c0701b1c8738b56c60bc4c8e8f68f5ae80/68747470733a2f2f7472617669732d63692e6f72672f79686279756e2f6c61726176656c2d7365637572696d6167652e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/yhbyun/laravel-securimage)

A simple laravel 5 wrapper package for [Securimage](https://www.phpcaptcha.org/).

[![preview](https://raw.githubusercontent.com/yhbyun/resources/master/securimage/securimage.png)](https://raw.githubusercontent.com/yhbyun/resources/master/securimage/securimage.png)

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

[](#installation)

Add the package to your `composer.json` by running:

```
composer require yhbyun/laravel-securimage

```

When it's installed, add it to the providers list in `config/app.php`

```
Yhbyun\Securimage\SecurimageServiceProvider::class,

```

Publish assets to your public folder

```
$ php artisan vendor:publish --provider="Yhbyun\Securimage\SecurimageServiceProvider"

```

Configuration
-------------

[](#configuration)

`config/securimage.php`

```
return [
    'length' => env('SECURIMAGE_LENGTH', 6),
    'width'  => env('SECURIMAGE_WIDTH', 215),
    'height'  => env('SECURIMAGE_HEIGHT', 80),
    'perturbation' => env('SECURIMAGE_PERTURBATION', .85),
    'case_sensitive' => env('SECURIMAGE_CASE_SENSITIVE', false),
    'num_lines' => env('SECURIMAGE_NUM_LINES', 0),
    'charset' => env('SECURIMAGE_CHARSET', 'ABCDEFGHKLMNPRSTUVWYZabcdefghklmnprstuvwyz23456789'),
    'signature' => env('SECURIMAGE_SIGNATURE', 'ecplaza'),
    'show_text_input' => env('SECURIMAGE_SHOW_TEXT_INPUT', false),
];
```

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

[](#example-usage)

`app/Http/routes.php`

```
Route::any('captcha-test', function()
{
    if (Request::getMethod() == 'POST')
    {
        $rules = ['captcha' => 'required|captcha'];
        $validator = Validator::make(Input::all(), $rules);
        if ($validator->fails())
        {
            echo 'Incorrect!';
        }
        else
        {
            echo 'Matched :)';
        }
    }

    $form = '';
    $form .= '';
    $form .= '' . captcha_img() . '';
    $form .= 'Check';
    $form .= '';
    return $form;
});

```

Testing
-------

[](#testing)

```
$ phpunit --stderr

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity54

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

Every ~220 days

Recently: every ~0 days

Total

9

Last Release

1828d ago

PHP version history (2 changes)v0.1.0PHP &gt;=5.4.0

v0.1.1PHP &gt;=5.5.0

### Community

Maintainers

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

---

Top Contributors

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

---

Tags

laravelcaptchasecurimage

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/yhbyun-laravel-securimage/health.svg)

```
[![Health](https://phpackages.com/badges/yhbyun-laravel-securimage/health.svg)](https://phpackages.com/packages/yhbyun-laravel-securimage)
```

###  Alternatives

[josiasmontag/laravel-recaptchav3

Recaptcha V3 for Laravel package

2641.6M2](/packages/josiasmontag-laravel-recaptchav3)[buzz/laravel-google-captcha

Google captcha for Laravel

2071.1M2](/packages/buzz-laravel-google-captcha)[mohsen/captcha

A simple captcha for laravel 4

125.2k](/packages/mohsen-captcha)

PHPackages © 2026

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