嗨,我想安装这个包:
https://packagist.org/packages/knplabs/knp-paginator-bundle
"knplabs/knp-paginator-bundle": "2.3.*@dev"
但我不想用 composer.phar 更新来搞砸什么,因为上次当我没记错时它杀死了 FOS 包中的一些包功能。
所以我只做了::
sudo php composer.phar install
但我得到了这个错误:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for symfony/framework-standard-edition 2.1.x-dev -> satisfiable by symfony/framework-standard-edition[2.1.x-dev].
- symfony/framework-standard-edition 2.1.x-dev requires knplabs/knp-paginator-bundle 2.3.*@dev -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.
Read <http://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
这些是我对 symfony 和 php 的要求。应该够了吧?那请问有什么问题?
"require": {
"php": ">=5.3.3",
"symfony/symfony": "2.1.*",