2017 © Pedro Peláez
 

kohana-module captcha

A captcha module for Kohana

image

fidyk/captcha

A captcha module for Kohana

  • Friday, March 21, 2014
  • by fidyk
  • Repository
  • 1 Watchers
  • 0 Stars
  • 39 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 70 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Captcha for Kohana 3.3

This is the Captcha library ported from Kohana 3.0.x to 3.3. Very little has changed API-wise, although there have been a few changes., (*1)

One significant change is that filenames are now Title Case to conform with the PSR-0 standard adopted in Kohana 3.3., (*2)

Getting Started

Instantiate a captcha:, (*3)

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

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

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

Render a captcha to Response object (somewhere in the controller action):, (*7)

$captcha->render($this->response);, (*8)

or render captcha to HTML tag or plain text string (for 'math' and 'riddle' styles):, (*9)

$captcha->html();, (*10)

Validate the captcha:, (*11)

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

Captcha Styles

  • alpha - Image based
  • basic - Image based
  • black - Image based
  • math - Text based
  • riddle - Text based
  • word - Image based

The Versions

21/03 2014

dev-3.3/develop

dev-3.3/develop

A captcha module for Kohana

  Sources   Download

BSD-3-Clause

The Requires

 

captcha kohana

13/03 2014

dev-3.3/master

dev-3.3/master

A captcha module for Kohana

  Sources   Download

BSD-3-Clause

The Requires

 

captcha kohana