yii2 select2 in form code example Example: select2 yii2 $ php composer.phar require kartik-v/yii2-widget-select2 "@dev"