不使用composer.phar安装FosuserBundle

时间:2014-08-05 13:58:35

标签: symfony fosuserbundle

我现在使用symfony 2.5并且我会使用FosuserBundle但是我在composer.phar中有问题,是否有另一种方法来安装这个Bundle而不使用composer?

我想在我的symfony应用程序中安装composer.phar我从https://github.com/composer/composer开始下载调用。

但是当我运行命令时:

php composer.phar install

我在我的consol中有这个:

Problem 1

-Installation request for symfony/icu v1.2.1 -> satisfiable by symfony/icu[v1.2.1]

-symfony/icu v1.2.1 requires lib-icu >=4.4 -> the requested linked library icu has the extension providing it.

Problem 2

-symfony/symfony v2.5.0 requires symfony/icu ~1.0 -> satisfiable by symfony/icu[v1.2.1].

-symfony/symfony v2.5.0 requires symfony/icu ~1.0 -> satisfiable by symfony/icu[v1.2.1].

-symfony/icu v1.2.1 requires lib-icu >=4.4 -> the requested linked  library icu has the wrong version installed or is missing from your system, make sure have the extension providing it.

- Installation request for symfony/symfony v2.5.0 -> satisfiable by symfony/symfony[v2.5.0].

任何帮助请!!

1 个答案:

答案 0 :(得分:0)

如果您使用https://github.com/FriendsOfSymfony/FOSUserBundle/blob/master/Resources/doc/index.md
$ php composer.phar需要friendsofsymfony / user-bundle" ~2.0@dev"这个问题, 用于composer.json

   "friendsofsymfony/user-bundle": "~2.0@dev" 

尝试使用

$ php composer update。