why jui datepicker is very difficult to implement

why is it that jui datepicker is difficult to implement ? why jquery-ui folder is missing in the download build in yii2 basic template.,…

Thank you in advance.

Have you looked in vendor/yiisoft/yii2-jui/DatePicker.php?

There is no yii2-jui ,but I download it to github.

why is it if I put yii2-jui under yiisoft folder I get this error

Class ‘yii\jui\DatePicker’ not found,

but if put the jui inside the yii2 folder yii2/jui

works fine,but there is a problem the theme of datepicker cannot be change even I change it to redmond,I don’t know why.

Thank you in advance.

You need to install components in Yii2 via composer, it is by far the best way and if you don’t know composer it is incredibly easy to install and use.

I alreay installed the composer but the problem when I execute this command

I just copied and paste to my terminal

C:\Users\ezekel>php composer.phar require --prefer-dist yiisoft/yii2-jui "*"

Could not open input file: composer.phar

I don’t know why.

I also tried to execute in php folder

C:\wamp\bin\php\php5.4.16>php composer.phar require --prefer-dist yiisoft/yii2-j

ui "*"

Could not open input file: composer.phar

already fixed!