PHPackages                             carry0987/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. [Utility &amp; Helpers](/categories/utility)
4. /
5. carry0987/captcha

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

carry0987/captcha
=================

Generate Captcha with normal image format

1.1.4(2mo ago)144MITPHPPHP &gt;=7.2

Since Oct 7Pushed 2mo agoCompare

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

READMEChangelog (6)DependenciesVersions (7)Used By (0)

PHP-Captcha
===========

[](#php-captcha)

[![Latest Stable Version](https://camo.githubusercontent.com/96bbf066494b0e381f1f5f027fbf7b7f0dd60aa769e54190459a9d4bf7445554/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6361727279303938372f636170746368612e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/carry0987/captcha)
Generate Captcha with normal image format via php

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

[](#installation)

```
composer require carry0987/captcha
```

Usage
-----

[](#usage)

Set option for **`SimpleCaptcha`**:

```
$captcha_option = array(
    'code' => '',
    'image_height' => 60,
    'image_width' => 250,
    'captcha_letter' => 'bcdfghjkmnpqrstvwxyz23456789',
    'font_file' => dirname(__DIR__).'/font/monofont.ttf',
    'text_color' => '#142864',
    'noise_color' => '#142864',
    'total_character' => 6,
    'random_dots' => 50,
    'random_lines' => 25,
    'check_sensitive' => false
);
```

The captcha code is compared case insensitively by default
If you want case sensitive match, update the option `check_sensitive` from `false` to `true`

Screenshot
----------

[](#screenshot)

[![carry0987](https://camo.githubusercontent.com/01109a89b36e9ad4d78c6e8bfc09980d5e4aa0aa5861ecc47e14ae3535431b40/68747470733a2f2f692e696d6775722e636f6d2f6f333943324c672e706e67)](https://camo.githubusercontent.com/01109a89b36e9ad4d78c6e8bfc09980d5e4aa0aa5861ecc47e14ae3535431b40/68747470733a2f2f692e696d6775722e636f6d2f6f333943324c672e706e67)

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance87

Actively maintained with recent releases

Popularity10

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity42

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 ~177 days

Recently: every ~221 days

Total

6

Last Release

66d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/1f43bad259478092c4ff269518aa9a0c8e91a537a67272877041b4bc1f25cfe8?d=identicon)[carry0987](/maintainers/carry0987)

---

Top Contributors

[![carry0987](https://avatars.githubusercontent.com/u/12984973?v=4)](https://github.com/carry0987 "carry0987 (18 commits)")

---

Tags

captchajavascriptphp

### Embed Badge

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

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

###  Alternatives

[scribu/scb-framework

A set of useful classes for faster plugin development

22393.3k](/packages/scribu-scb-framework)

PHPackages © 2026

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