PHP code example of baha2odeh / yii2-pincode-input
1. Go to this page and download the library: Download baha2odeh/yii2-pincode-input library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
baha2odeh / yii2-pincode-input example snippets
<?= \Baha2Odeh\PincodeInput\PinCodeInput::widget([
'model' => $model,
'attribute' => 'pincode',
'jsOptions' => [
'hidedigits'=>false,
'inputs'=>4
],
])
<?= $form->field($model, 'pincode')->widget(\Baha2Odeh\PincodeInput\PinCodeInput::className(), [
'jsOptions' => [
'hidedigits'=>false,
'inputs'=>4
],
])->label(false)
php composer.phar