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