我昨天开始,我尝试在我现有的项目中安装 symfony/cmf 包。不幸的是,我对作曲家不太熟悉,它以一团糟而告终。现在我恢复了我的项目并用干净的头脑再次尝试,但今天同样的问题。
我按照文档进行了操作,PHPPCR 表已成功初始化。但是下一步会导致软件包版本出现问题(symfony-cmf/routing-auto-bundle)。
这是我的要求和作曲家的信息:
"require": {
"php": ">=5.3.3",
"symfony/symfony": "~2.4",
"doctrine/orm": "~2.2,>=2.2.3",
"doctrine/doctrine-bundle": "~1.2",
"twig/extensions": "~1.0",
"symfony/assetic-bundle": "~2.3",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~2.3",
"sensio/framework-extra-bundle": "~3.0",
"sensio/generator-bundle": "~2.3",
"incenteev/composer-parameter-handler": "~2.0",
"jms/security-extra-bundle": "1.5.*@dev",
"doctrine/doctrine-fixtures-bundle": "2.2.*",
"friendsofsymfony/jsrouting-bundle": "1.1.*",
"hwi/oauth-bundle": "0.4.*@dev",
"twbs/bootstrap": "dev-master",
"symfony-cmf/routing-auto-bundle": "1.0.*@alpha",
"symfony-cmf/menu-bundle": "1.1.*",
"sonata-project/doctrine-phpcr-admin-bundle": "1.1.*",
"symfony-cmf/tree-browser-bundle": "1.1.*",
"jackalope/jackalope-doctrine-dbal": "1.1.*",
"doctrine/phpcr-odm": "1.1.*",
"phpcr/phpcr-utils": "1.1.*",
"doctrine/phpcr-bundle": "1.1.*",
"symfony-cmf/routing-bundle": "1.2.*",
"symfony-cmf/routing": "1.2.*"
},
和消息
Problem 1
- The requested package symfony-cmf/tree-browser-bundle could not be found in any version, there may be a typo in the package name.
Problem 2
- Installation request for symfony/framework-standard-edition 2.4.x-dev -> satisfiable by symfony/framework-standard-edition[2.4.x-dev].
- symfony/framework-standard-edition 2.4.x-dev requires symfony-cmf/tree-browser-bundle 1.1.* -> no matching package found.
Problem 3
- symfony-cmf/routing-auto-bundle 1.0.0-alpha9 requires symfony-cmf/routing-bundle 1.1.* -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha8 requires symfony-cmf/routing-bundle 1.1.* -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha7 requires symfony-cmf/routing-bundle 1.1.* -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha6 requires symfony-cmf/routing-bundle ~1.1.0-RC1 -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha5 requires symfony-cmf/routing-bundle ~1.1.0-RC1 -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha4 requires symfony-cmf/routing-bundle ~1.1.0-RC1 -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha3 requires symfony-cmf/routing-bundle 1.1.* -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha2 requires symfony-cmf/routing-bundle 1.1.* -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha10 requires symfony-cmf/routing-bundle 1.1.* -> no matching package found.
- symfony-cmf/routing-auto-bundle 1.0.0-alpha1 requires aferrandini/urlizer dev-master -> no matching package found.
- Installation request for symfony-cmf/routing-auto-bundle 1.0.*@alpha -> satisfiable by symfony-cmf/routing-auto-bundle[1.0.0-alpha1, 1.0.0-alpha10, 1.0.0-alpha2, 1.0.0-alpha3, 1.0.0-alpha4, 1.0.0-alpha5, 1.0.0-alpha6, 1.0.0-alpha7, 1.0.0-alpha8, 1.0.0-alpha9].
我还尝试了此消息下方的链接,但对我没有帮助。我昨天所做的是尝试调整所需的版本,但问题只是从一个包转移到另一个包。
如果有人可以帮助我提供一个具体的解决方案或一个很好的提示,我可以自己解决它,那就太好了(不,那不是谷歌。这就是我昨天尝试了好几个小时而没有解决方案的方式;-)) .