2017 © Pedro Peláez
 

yii2-extension yii2-captcha

yii2 captcha

image

developit/yii2-captcha

yii2 captcha

  • Tuesday, September 5, 2017
  • by rezaee
  • Repository
  • 2 Watchers
  • 5 Stars
  • 242 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 4 Versions
  • 12 % Grown

The README.md

yii2 captcha

yii2 captcha with Ability to recognize Arabic and Persian numbers., (*1)

screenshot, (*2)

Installation

The preferred way to install this extension is through composer., (*3)

Either run, (*4)

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

or add, (*5)

"developit/yii2-captcha": "*"

to the require section of your composer.json file., (*6)

Usage

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

    public function actions()
    {
        $this->layout = $this->setting['layout'];
        return [
            'error' => [
                'class' => 'yii\web\ErrorAction',
            ],
            'captcha' => [
                'class' => 'developit\captcha\CaptchaAction',
                'type' => 'numbers', // 'numbers', 'letters' or 'default' (contains numbers & letters)
                'minLength' => 4,
                'maxLength' => 4,
            ],
        ];
    }

In view ```php use developit\captcha\Captcha; = $form->field($model, 'verifyCode')->widget(Captcha::className()) ?>, (*8)

The Versions

05/09 2017

dev-master

9999999-dev

yii2 captcha

  Sources   Download

GPL-3.0

The Requires

 

by Ehsan Rezaei

yii2 captcha yii2 captcha

05/09 2017

1.2

1.2.0.0

yii2 captcha

  Sources   Download

GPL-3.0

The Requires

 

by Ehsan Rezaei

yii2 captcha yii2 captcha

01/09 2017

1.1

1.1.0.0

yii2 captcha

  Sources   Download

GPL-3.0

The Requires

 

by Ehsan Rezaei

yii2 captcha yii2 captcha

01/10 2016

1.0

1.0.0.0

yii2 captcha

  Sources   Download

GPL-3.0

The Requires

 

by Ehsan Rezaei

yii2 captcha yii2 captcha