2017 © Pedro Peláez
 

yii2-extension yii2-passfield

Passfield widget for Yii2

image

dektrium/yii2-passfield

Passfield widget for Yii2

  • Wednesday, April 16, 2014
  • by dmeroff
  • Repository
  • 0 Watchers
  • 0 Stars
  • 73 Installations
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 7 % Grown

The README.md

Yii2-passfield

Passfield widget for Yii2., (*1)

Installation

Either run following command:, (*2)

$ php composer.phar require --prefer-dist dektrium/yii2-passfield "dev-master"

or add, (*3)

"dektrium/yii2-passfield": "dev-master"

to the require section of your composer.json file and run following command:, (*4)

$ php composer.phar update

Usage

If you are using active form you can all the widget as follows:, (*5)

<?= \dektrium\passfield\Passfield::widget([
    'form'      => $form,      // active form instance
    'model'     => $model,     // your model
    'attribute' => 'password', // model attribute name
    'config'    => []          // passfield configuration
]) ?>

Or if you are not using active form:, (*6)

<?= \dektrium\passfield\Passfield::widget([
    'name'   => 'password', // the input name
    'config' => []          // passfield configuration
]) ?>

License

Yii2-passfield is released under the MIT License. See the bundled LICENSE.md for details., (*7)

The Versions

16/04 2014

dev-master

9999999-dev

Passfield widget for Yii2

  Sources   Download

MIT

The Requires

 

yii2 dektrium passfield