Skip to content
This repository has been archived by the owner. It is now read-only.
Captcha for Kohana 3.x
Branch: master
Clone or download

Latest commit

kolanos Merge pull request #17 from davidvandertuijn/master
Fix using Kohana Config Reader in Kohana 3.2
Latest commit ad08908 Jan 11, 2013


Type Name Latest commit message Commit time
Failed to load latest commit information.

#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:


or just:


Validate the 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 Styles

  • alpha
  • basic
  • black
  • math
  • riddle
  • word
You can’t perform that action at this time.