dev-master
9999999-devPassfield widget for Yii2
MIT
The Requires
yii2 dektrium passfield
Passfield widget for Yii2
Passfield widget for Yii2., (*1)
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
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 ]) ?>
Yii2-passfield is released under the MIT License. See the bundled LICENSE.md for details., (*7)
Passfield widget for Yii2
MIT
yii2 dektrium passfield