我不会重复提问,但我遇到与问题相同的问题here 但我提出的答案无法解决我的问题。我不是安装symfony捆绑包而是我自己的dependendy,只是为了测试它是否在symfony2中工作。 composer.json是on this link
在Symfony 2.4的composer.json中,我尝试了很多方法来解决这个问题...... 添加
“DEV-主@ dev的”
然后像上面的问题中的别名
dev-master as 0.0.0
我也尝试将minimum-stability
更改为stable
,但它无效。作曲家说my requirements could not be resolved to an installable set of packages
。我怎样才能安装我的依赖项beacuse甚至stable
不起作用?我不知道这是否重要,但我也在我的项目中使用Symfony2 Finder,但Composer并没有说它没关系。
编辑:整个错误消息......
Problem 1
- Installation request for symfony/framework-standard-edition 2.4.x-dev -> satisfiable by symfony/framework-standard-edition[2.4.x-dev].
- Conclusion: remove symfony/symfony v2.5.0
- Conclusion: don't install symfony/symfony v2.5.0
- Conclusion: don't install symfony/symfony v2.4.6
- Conclusion: don't install symfony/symfony v2.4.5
- Conclusion: don't install symfony/symfony v2.4.4
- Conclusion: don't install symfony/symfony v2.4.3
- Installation request for mario-legenda/image-uploader dev-master -> satisfiable by mario-legenda/image-uploader[dev-master].
- Conclusion: don't install symfony/symfony v2.4.2
- mario-legenda/image-uploader dev-master requires symfony/finder 2.3.* -> satisfiable by symfony/finder[v2.3.0, v2.3.1, v2.3.10, v2.3.11, v2.3.12, v2.3.13, v2.3.14, v2.3.15, v2.3.16, v2.3.2, v2.3
3, v2.3.4, v2.3.5, v2.3.6, v2.3.7, v2.3.8, v2.3.9].
- don't install symfony/finder v2.3.0|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.1|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.10|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.11|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.12|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.13|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.14|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.15|don't install symfony/symfony v2.4.0
- don't install symfony/finder v2.3.16|don't install symfony/symfony v2.4.0