1
我想在symfony2中安裝FOSUserBundle,但是當我告訴作曲家下載軟件包時什麼也沒有發生。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.*",
},
,當我嘗試運行良好的命令行:
[email protected]: su php composer.phar update --prefer-dist friendsofsymfony/user-bundle
[email protected]:
我已經嘗試沒有--prefer-dist
,並不能改變什麼。
感謝您的幫助