PHPackages                             php-captcha/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. [Image &amp; Media](/categories/media)
4. /
5. php-captcha/captcha

ActiveProject[Image &amp; Media](/categories/media)

php-captcha/captcha
===================

php image captcha

1.0(9y ago)090MITPHPPHP &gt;=5.5.0

Since Mar 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/willtsang/phpCaptcha)[ Packagist](https://packagist.org/packages/php-captcha/captcha)[ RSS](/packages/php-captcha-captcha/feed)WikiDiscussions master Synced 4w ago

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

phpCaptcha
==========

[](#phpcaptcha)

php image captcha , need GD extension.

require
-------

[](#require)

Predis

install
-------

[](#install)

```
composer.json

require: {
    "php-captcha/captcha": "~1.0"
}

```

example
-------

[](#example)

- use base64 string

    ```
      use Captcha\CaptchaManager

      $redisClient = ...;
      $identity = ...;

      $captcha = new CaptchaManager($redisClient);

      $base64ImageString = $captcha->createBase64ImageCaptcha($identity);

      $response = ...;

      $response->setBody($base64ImageString);

      return $response;

    ```
- use content-type:image/png

    ```
      use Captcha\CaptchaManager

      $redisClient = ...;
      $identity = ...;

      $captcha = new CaptchaManager($redisClient);

      $captcha->createStreamImageCaptcha($identity);

      $response = ...;

      $response->headers->add([Content-type' => 'image/png']);

      return $response;

    ```

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity59

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

3388d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/11253286?v=4)[will](/maintainers/willtsang)[@willtsang](https://github.com/willtsang)

---

Top Contributors

[![willtsang](https://avatars.githubusercontent.com/u/11253286?v=4)](https://github.com/willtsang "willtsang (1 commits)")

### Embed Badge

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

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

###  Alternatives

[bagisto/bagisto

Bagisto Laravel E-Commerce

27.6k169.0k9](/packages/bagisto-bagisto)[unopim/unopim

UnoPim Laravel PIM

10.5k2.2k](/packages/unopim-unopim)[oro/platform

Business Application Platform (BAP)

642140.7k106](/packages/oro-platform)[concrete5/core

Concrete – an open source content management system.

20163.8k49](/packages/concrete5-core)[lion/bundle

Lion-framework configuration and initialization package

122.3k3](/packages/lion-bundle)

PHPackages © 2026

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