PHPackages                             roquie/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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. roquie/captcha

ActiveKohana-module[Validation &amp; Sanitization](/categories/validation)

roquie/captcha
==============

Captcha module for Kohana

06PHP

Since Nov 15Pushed 12y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

\#Captcha for Kohana 3.x

This is the Captcha library ported from Kohana 2.3.x to 3.x. Very little has changed API-wise, although there have been a few changes.

\##Getting Started

Instantiate a captcha:

> $captcha = Captcha::instance();

Instantiate using your own config group (other than 'default'):

> $captcha = Captcha::instance('myconfig');

Render a captcha:

> $captcha-&gt;render();

or just:

> $captcha;

Validate the captcha:

> Captcha::valid($\_POST\['captcha'\]);

By default image-based captchas are rendered with HTML, the HTML is a very simple ![]() tag. If you want to handle your own rendering of the captcha simply set the first parameter for render() to FALSE:

> $captcha-&gt;render(FALSE);

\##Captcha Styles

- alpha
- basic
- black
- math
- riddle
- word

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76% 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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/35d8eff4a3e66b58f3e2af56fe948035469de1e19ac29c532d65c681955bbd18?d=identicon)[Roquie](/maintainers/Roquie)

---

Top Contributors

[![kolanos](https://avatars.githubusercontent.com/u/17498?v=4)](https://github.com/kolanos "kolanos (19 commits)")[![roquie](https://avatars.githubusercontent.com/u/3214290?v=4)](https://github.com/roquie "roquie (4 commits)")[![bistory](https://avatars.githubusercontent.com/u/108102?v=4)](https://github.com/bistory "bistory (1 commits)")[![davidvandertuijn](https://avatars.githubusercontent.com/u/11010507?v=4)](https://github.com/davidvandertuijn "davidvandertuijn (1 commits)")

### Embed Badge

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

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

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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