PHPackages                             ajur-media/kcaptcha - 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. [Security](/categories/security)
4. /
5. ajur-media/kcaptcha

ActiveLibrary[Security](/categories/security)

ajur-media/kcaptcha
===================

Automatic test to tell computers and humans apart

1.3.0(3mo ago)0205MITPHPPHP ^8.2

Since Feb 7Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/ajur-media/kcaptcha)[ Packagist](https://packagist.org/packages/ajur-media/kcaptcha)[ RSS](/packages/ajur-media-kcaptcha/feed)WikiDiscussions main Synced 3w ago

READMEChangelog (7)Dependencies (2)Versions (8)Used By (0)

Опции конфигурации
==================

[](#опции-конфигурации)

- length - количество символов в капче
- width - ширина картинки в пикселях (160)
- height - высота картинки в пикселях (80)
- fluctuation\_amplitude - амплитуда вертикальной флуктуации символов, в пикс. (8)
- use\_distortion - использовать дисторшен (true)
- white\_noise\_density - плотность белого шума, 0 - выключено (1/6)
- black\_noise\_density - плотность черного шума, 0 - выключено (1/30)
- no\_spaces - повысить силу капчи, убрав пробелы между символы, при этом капча генерится дольше (в пределах 1 мс) (true)
- foreground\_color - цвета изображения капчи: текст
- background\_color - цвета изображения капчи: фон
- jpeg\_quality - качество сохраняемого изображения JPEG (90)

Другие опции:

- show\_credits - показать строчку копирайтов (false)
- credits - текст на строчке копирайтов (по умолчанию - `$_SERVER['HTTP_HOST']`)

Легаси опции, которые не реализованы:

- codeSet - (не используется), видимо, должно влиять на `allowed_symbols`

```
use AJUR\Template\KCaptcha;

require_once __DIR__ . '/vendor/autoload.php';

$captcha = new KCaptcha([
    'width' => 120,
    'height' => 60,
    'fluctuation_amplitude' => 4,
    'no_spaces' => false,
    'show_credits' => false,
    'length' => mt_rand(4, 6),
    'use_distortion'    => true,
    'white_noise_density' => 1 / 8,
    'black_noise_density' => 1 / 30,
]);

$captcha->display('gif', 'test.gif');
```

###  Health Score

43

—

FairBetter than 90% of packages

Maintenance82

Actively maintained with recent releases

Popularity13

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

Every ~129 days

Recently: every ~193 days

Total

7

Last Release

91d ago

Major Versions

0.9.9 → 1.0.02024-02-08

PHP version history (2 changes)0.9.9PHP ^7.4 | 8.\*

1.3.0PHP ^8.2

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/2164874?v=4)[Karel Wintersky](/maintainers/KarelWintersky)[@KarelWintersky](https://github.com/KarelWintersky)

---

Top Contributors

[![KarelWintersky](https://avatars.githubusercontent.com/u/2164874?v=4)](https://github.com/KarelWintersky "KarelWintersky (7 commits)")

###  Code Quality

TestsPHPUnit

Static AnalysisRector

### Embed Badge

![Health badge](/badges/ajur-media-kcaptcha/health.svg)

```
[![Health](https://phpackages.com/badges/ajur-media-kcaptcha/health.svg)](https://phpackages.com/packages/ajur-media-kcaptcha)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.0M134](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24772.0k35](/packages/paragonie-ecc)[fof/recaptcha

Increase your forum's security with Google reCAPTCHA

1436.9k](/packages/fof-recaptcha)

PHPackages © 2026

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