PHP code example of rootlocal / yii2-select2
1. Go to this page and download the library: Download rootlocal/yii2-select2 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/ */
rootlocal / yii2-select2 example snippets
use yii\web\View;
use yii\bootstrap4\ActiveForm;
use rootlocal\widgets\select2\Select2Widget;
/**
* @var View $this
* @var ActiveForm $form
*/