yii2-captcha Captcha With Math Equation

  1. Requirements
  2. Instalation
  3. Usage
  4. Resources

Yii2 extension. Captcha With Math Equation

Requirements

This extension required Yii 2.0 or above.

Instalation

The preferred way to install this extension is through composer.

Either run

php composer.phar require --prefer-dist mdmsoft/yii2-captcha "*"

or add ~~~ "mdmsoft/yii2-captcha": "*" ~~~ to the require section of your composer.json file.

Usage

Once the extension is installed, simply modify your controler, add or change methode actions():

public function actions()
{
    return [
        ...
        'captcha' => [
                'class' => 'mdm\captcha\CaptchaAction',
                'level' => 3, // avaliable level are 1,2,3 :D
            ],
    ];
}

Resources

yii2-captcha on github.

0 0
2 followers
0 downloads
Yii Version: 2.0
License: BSD-2-Clause
Category: User Interface
Tags: captcha
Developed by: Misbahul D Munir
Created on: May 27, 2014
Last updated: 10 years ago

Related Extensions