PHP code example of kartik-v / yii2-editable
1. Go to this page and download the library: Download kartik-v/yii2-editable 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/ */
kartik-v / yii2-editable example snippets
use kartik\editable\Editable;
echo Editable::widget([
'model' => $model,
'attribute' => 'rating',
'type' => 'primary',
'size'=> 'lg',
'inputType' => Editable::INPUT_RATING,
'editableValueOptions' => ['class' => 'text-success h3']
]);