2015-01-05 14:41
浏览 113


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.

图片转代码服务由CSDN问答提供 功能建议

如何使用composer在yii2.0中安装yii / jui。 我试过

  php composer.phar require --prefer-dist yiisoft / yii2-jui“*”
 <  p>并添加到 composer.json   
 “yiisoft / yii2-jui”:“*”

但没有成功。 任何人都可以帮我如何使用composer在yii 2.0中安装扩展。

当我运行 $ php composer.phar require yiisoft / yii2-jui“*”在cmd中它只是打开composer.phar文件,没有其他任何事情发生。


  • 写回答
  • 好问题 提建议
  • 追加酬金
  • 关注问题
  • 收藏
  • 邀请回答

3条回答 默认 最新

  • duanpao9781 2015-01-05 15:11

    Please check in composer.json file for yiisoft/yii2-jui under "require". You might be see like that

    "require": {
            "yiisoft/yii2-jui": "2.0.*@dev"

    If you didn't see, please add this and run composer.phar install or composer install. If already install, use composer.phar update or composer update

    I have been updated my answer. Please take a look. The packagist is Here.

    解决 无用
    打赏 举报

相关推荐 更多相似问题