2017 © Pedro Peláez
 

yii2-extension yii2-visualcaptcha

Visual captcha implementation for yii2 framework

image

simialbi/yii2-visualcaptcha

Visual captcha implementation for yii2 framework

  • Tuesday, July 31, 2018
  • by simialbi
  • Repository
  • 0 Watchers
  • 0 Stars
  • 11 Installations
  • JavaScript
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 38 % Grown

The README.md

yii2-visualcaptcha

Resources

Installation

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

Either run, (*2)

$ php composer.phar require --prefer-dist simialbi/yii2-visualcaptcha

or add, (*3)

"simialbi/yii2-visualcaptcha": "*"

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

Usage

Setup Module

Add the module visualcaptcha to the modules and bootstrap section of your configuration file:, (*5)

[
    'bootstrap' => ['log', 'visualcaptcha'],
    'modules' => [
        'visualcaptcha' => [
            'class' => 'simialbi\yii2\visualcaptcha\Module'
        ]
    ]
]

Example Usage

Define Model

title = 'Visual Captcha';
$this->params['breadcrumbs'][] = $this->title;

?>


'test-form']); ?> =$form->field($model, 'name')->textInput(['autofocus' => true]);?> =$form->field($model, 'email');?> =$form->field($model, 'subject');?> =$form->field($model, 'body')->textarea(['rows' => 6]);?> =$form->field($model, 'verifyCode')->widget(VisualCaptcha::class, [ 'numberOfImages' => 10, 'clientOptions' => [ // change templates 'templates' => [ 'button' => ' ', 'buttonGroup' => '
{btnRefresh} {btnAccessibility}
' ] ] ]);?>
=Html::submitButton('Submit', ['class' => ['btn', 'btn-primary']]);?>
?>

License

yii2-visualcaptcha is released under MIT license. See bundled LICENSE for details., (*6)

The Versions

31/07 2018

dev-master

9999999-dev

Visual captcha implementation for yii2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simon Karlen

yii2 captcha widget visual visualcaptcha

31/07 2018

0.2

0.2.0.0

Visual captcha implementation for yii2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simon Karlen

yii2 captcha widget visual visualcaptcha

02/07 2018

0.1.1

0.1.1.0

Visual captcha implementation for yii2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simon Karlen

yii2 captcha widget visual visualcaptcha

25/05 2018

0.1

0.1.0.0

Visual captcha implementation for yii2 framework

  Sources   Download

MIT

The Requires

 

The Development Requires

by Simon Karlen

yii2 captcha widget visual visualcaptcha