PHP code example of fufudao / yii2-weui
1. Go to this page and download the library: Download fufudao/yii2-weui 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/ */
fufudao / yii2-weui example snippets
php composer.phar aster
$form = ActiveForm::begin([
'method'=>'GET',
'action'=> Html::getUri(),
]);
echo $form->cells('title');
echo $form->beginCells(['class'=>['weui-cells_form']
]);
echo $form->field($searchModel,'cardNO')->textInput(['maxlength'=>true,'
ActiveForm::end()