参考
https://github.com/kartik-v/yii2-widgets
http://demos.krajee.com/widgets
https://packagist.org/packages/kartik-v/yii2-widgets
安装
在yii项目中执行下面composer
composer require kartik-v/yii2-widgets "*"
完整回显为:
C:\www>composer require --prefer-dist kartik-v/yii2-widgets "*"
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 23 installs, 0 updates, 0 removals
- Installing kartik-v/yii2-krajee-base (v1.8.8): Downloading (100%)
- Installing kartik-v/yii2-widget-typeahead (v1.0.1): Downloading (100%)
- Installing kartik-v/yii2-widget-touchspin (v1.2.1): Downloading (100%)
- Installing kartik-v/yii2-widget-timepicker (v1.0.3): Downloading (100%)
- Installing kartik-v/yii2-widget-switchinput (v1.3.1): Downloading (100%)
- Installing kartik-v/yii2-widget-spinner (v1.0.0): Downloading (100%)
- Installing kartik-v/yii2-widget-sidenav (v1.0.0): Downloading (100%)
- Installing kartik-v/yii2-widget-select2 (v2.0.9): Downloading (100%)
- Installing kartik-v/bootstrap-star-rating (v4.0.1): Downloading (100%)
- Installing kartik-v/yii2-widget-rating (v1.0.2): Downloading (100%)
- Installing kartik-v/yii2-widget-rangeinput (v1.0.1): Downloading (100%)
- Installing kartik-v/yii2-widget-growl (v1.1.1): Downloading (100%)
- Installing kartik-v/bootstrap-fileinput (v4.4.2): Downloading (100%)
- Installing kartik-v/yii2-widget-fileinput (v1.0.6): Downloading (100%)
- Installing kartik-v/dependent-dropdown (v1.4.5): Downloading (100%)
- Installing kartik-v/yii2-widget-depdrop (v1.0.4): Downloading (100%)
- Installing kartik-v/yii2-widget-datetimepicker (v1.4.4): Downloading (100%)
- Installing kartik-v/yii2-widget-datepicker (v1.4.2): Downloading (100%)
- Installing kartik-v/yii2-widget-colorinput (v1.0.3): Downloading (100%)
- Installing kartik-v/yii2-widget-alert (v1.1.0): Downloading (100%)
- Installing kartik-v/yii2-widget-affix (v1.0.0): Downloading (100%)
- Installing kartik-v/yii2-widget-activeform (v1.4.8): Downloading (100%)
- Installing kartik-v/yii2-widgets (v3.4.0): Downloading (100%)
Writing lock file
Generating autoload files