2017 © Pedro Peláez
 

kohana-module captcha

Captcha module for Kohana

image

roquie/captcha

Captcha module for Kohana

  • Friday, November 15, 2013
  • by Roquie
  • Repository
  • 1 Watchers
  • 0 Stars
  • 1 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 70 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

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., (*1)

Getting Started

Instantiate a captcha:, (*2)

$captcha = Captcha::instance();, (*3)

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

$captcha = Captcha::instance('myconfig');, (*5)

Render a captcha:, (*6)

$captcha->render();, (*7)

or just:, (*8)

$captcha;, (*9)

Validate the captcha:, (*10)

Captcha::valid($_POST['captcha']);, (*11)

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:, (*12)

$captcha->render(FALSE);, (*13)

Captcha Styles

  • alpha
  • basic
  • black
  • math
  • riddle
  • word

The Versions

15/11 2013

dev-master

9999999-dev https://github.com/Roquie/kohana-captcha

Captcha module for Kohana

  Sources   Download

MIT

The Requires

 

captcha kohana