How can i install yii/jui in yii2.0 using composer. I have tried
php composer.phar require --prefer-dist yiisoft/yii2-jui "*"
and added to composer.json
"yiisoft/yii2-jui": "*"
but it did not succeed. Can anyone help me how to use composer to install extension in yii 2.0 .
When i am running $ php composer.phar require yiisoft/yii2-jui "*"
in cmd it is just opening the composer.phar file, nothing else happening.
Thank you in advance.