我想在 symfony2 中安装 FOSUserBundle,但是当我告诉作曲家下载捆绑包时没有任何反应。
这是composer.json
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.2.*",
"friendsofsymfony/user-bundle": "*",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "1.2.*",
"twig/extensions": "1.0.*",
"symfony/assetic-bundle": "2.1.*",
"symfony/swiftmailer-bundle": "2.2.*",
"symfony/monolog-bundle": "2.2.*",
"sensio/distribution-bundle": "2.2.*",
"sensio/framework-extra-bundle": "2.2.*",
"sensio/generator-bundle": "2.2.*",
"jms/security-extra-bundle": "1.4.*",
"jms/di-extra-bundle": "1.3.*",
},
当我尝试运行良好的命令行时:
xavier@Debian: su php composer.phar update --prefer-dist friendsofsymfony/user-bundle
xavier@Debian:
我已经尝试过没有--prefer-dist
,不会改变任何东西。
谢谢你的帮助