PHPackages                             aetiom/voight-kampff - 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. aetiom/voight-kampff

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

aetiom/voight-kampff
====================

PHP captcha generator

1.1(7y ago)0641LGPL-3.0PHPPHP ^7.0.0

Since Jan 24Pushed 5y ago1 watchersCompare

[ Source](https://github.com/aetiom/voight-kampff)[ Packagist](https://packagist.org/packages/aetiom/voight-kampff)[ Docs](https://github.com/aetiom/voight-kampff)[ RSS](/packages/aetiom-voight-kampff/feed)WikiDiscussions 1.1 Synced 2mo ago

READMEChangelog (4)Dependencies (1)Versions (7)Used By (1)

voight-kampff
=============

[](#voight-kampff)

PHP captcha generator

Usage
-----

[](#usage)

### Create captcha

[](#create-captcha)

```
$pool = array(
    array(
        'idStr' => '0120',
        'lang'   => array(
            'en' => 'table',
            'fr' => 'table'
        )
    ),
    array(
        'idStr' => '2501',
        'lang'   => array(
            'en' => 'glass',
            'fr' => 'verre'
        )
    ),

    ...

    array(
        'idStr' => '3241',
        'lang'   => array(
            'en' => 'book',
            'fr' => 'livre'
        )
    )
);

$captcha = new VoightKampff\Captcha('captcha_identifier_in_string', $pool);
```

### Verify captcha

[](#verify-captcha)

```
$count = $captcha->getOptions()->imageCount;
$prefix = $captcha->getOptions()->cbPrefix;

$answers = \VoightKampff\Captcha::obtainPostedImages($count, $prefix);
$captcha->verify($answers);
```

### Display captcha

[](#display-captcha)

```
$images = $captcha->getImages();
$directive = $captcha->getDirective($lang);
$error = '';

if ($captcha->getError() !== null) {
    $error = $captcha->getError()->fetch($lang);
}

$render = new \VoightKampff\Render($captcha->getOptions(), $images);
$htmlCode = $render->createHtml($directive, $error);
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

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

Every ~0 days

Total

6

Last Release

2662d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/45f0d1aaa638419357a6de946ae4195273c4c57aa17d14566af5e544076a3693?d=identicon)[aetiom](/maintainers/aetiom)

---

Top Contributors

[![aetiom](https://avatars.githubusercontent.com/u/8208943?v=4)](https://github.com/aetiom "aetiom (60 commits)")

---

Tags

phpcssJSgeneratorcaptchabackendfrontend

### Embed Badge

![Health badge](/badges/aetiom-voight-kampff/health.svg)

```
[![Health](https://phpackages.com/badges/aetiom-voight-kampff/health.svg)](https://phpackages.com/packages/aetiom-voight-kampff)
```

###  Alternatives

[tomloprod/radiance

A deterministic mesh gradient avatar generator for PHP.

1393.7k](/packages/tomloprod-radiance)[tailwindphp/tailwindphp

A full port of TailwindCSS 4.x to PHP

171.7k1](/packages/tailwindphp-tailwindphp)

PHPackages © 2026

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