PHPackages                             suitmedia/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. [Framework](/categories/framework)
4. /
5. suitmedia/captcha

ActiveLibrary[Framework](/categories/framework)

suitmedia/captcha
=================

This package is captcha based on cool-php-captcha 0.3.1. It provides simple call usage and validation.

1.3.2(10y ago)0144MITPHPPHP &gt;=5.4.0

Since Aug 22Pushed 7y ago4 watchersCompare

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

READMEChangelog (1)Dependencies (2)Versions (12)Used By (0)

Captcha
=======

[](#captcha)

Simple image captcha based on [cool-php-captcha v0.3.1](https://code.google.com/p/cool-php-captcha "cool-php-captcha").

[![Latest Stable Version](https://camo.githubusercontent.com/84c597a74ed0fada7947a082f1418e6b6e6b19a9af9e5160f5dc99d9e269fa39/68747470733a2f2f706f7365722e707567782e6f72672f7769636f6368616e6472612f636170746368612f762f737461626c652e706e67)](https://packagist.org/packages/wicochandra/captcha)[![Total Downloads](https://camo.githubusercontent.com/3a66100a8af145b8d785838893570376210c32ac174fc39136d362559c814e97/68747470733a2f2f706f7365722e707567782e6f72672f7769636f6368616e6472612f636170746368612f646f776e6c6f6164732e706e67)](https://packagist.org/packages/wicochandra/captcha)

Update 1.2.0
------------

[](#update-120)

Support for Laravel 5. For Laravel 4, use version 1.1.1.

Update 1.1.1
------------

[](#update-111)

Url captcha image now have random number on query string

Update 1.1.0
------------

[](#update-110)

Added `Captcha::isValid($value)` for checking captcha session.

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

[](#installation)

Firstly, you need to add the package to the `require` attribute of your `composer.json` file:

```
{
    "require" : {
        "wicochandra/captcha": "1.*"
    }
}
```

Now, run `composer update` from command line to install the package.

Then, update your `config/app.php` by adding new value to the `providers` and `alias` key:

```
    'providers' => array (

        //...

        'Wicochandra\Captcha\CaptchaServiceProvider'
    ),

    //...

    'aliases' => array (

        //...

        'Captcha'         => 'Wicochandra\Captcha\Facade\Captcha',
    ),
```

Lastly, you need to publish vendor assets

```
    php artisan vendor:publish
```

Usage
-----

[](#usage)

There are two main usage of the package.

1. **Image link**, you can use the following directive to generate the captcha link.

```
    //Will return http://[web url]/captcha/image
    Captcha::url();
```

1. **Validator**, you can use `captcha` validator or `Captcha::isValid($value)` to validate whether the input is match with the captcha image or not.

```
   $rules = array(
        '[input name]' => 'captcha'
    );

    Captcha::isValid('captcha-input');  //return true if valid. Otherwise return false
```

**Note: You have to define validation error message for `captcha` by yourself on `resources/lang/{locale}/validation.php`**

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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 ~175 days

Recently: every ~338 days

Total

10

Last Release

2705d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/5222595?v=4)[Richan Fongdasen](/maintainers/richan-fongdasen)[@richan-fongdasen](https://github.com/richan-fongdasen)

---

Top Contributors

[![richan-fongdasen](https://avatars.githubusercontent.com/u/5222595?v=4)](https://github.com/richan-fongdasen "richan-fongdasen (1 commits)")[![wicochandra](https://avatars.githubusercontent.com/u/7018488?v=4)](https://github.com/wicochandra "wicochandra (1 commits)")

---

Tags

frameworklaravelsecuritycaptchacool-php-captcha

### Embed Badge

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

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

###  Alternatives

[rebing/graphql-laravel

Laravel wrapper for PHP GraphQL

2.2k7.1M26](/packages/rebing-graphql-laravel)[graham-campbell/markdown

Markdown Is A CommonMark Wrapper For Laravel

1.3k7.1M64](/packages/graham-campbell-markdown)[graham-campbell/manager

Manager Provides Some Manager Functionality For Laravel

39221.1M134](/packages/graham-campbell-manager)[laravel-lang/publisher

Localization publisher for your Laravel application

2167.7M24](/packages/laravel-lang-publisher)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[lukepolo/laracart

A simple cart for Laravel

583135.4k1](/packages/lukepolo-laracart)

PHPackages © 2026

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