我正在尝试使用此捆绑包:https://github.com/egeloen/IvoryGoogleMapBundle/blob/master/Resources/doc/installation.md使用此命令:
composer require egeloen / google-map-bundle
显示此错误:
> Problem 1
> - Conclusion: don't install egeloen/google-map-bundle 2.2.1
> - Conclusion: remove symfony/symfony v3.3.10
> - Installation request for egeloen/google-map-bundle ^2.2 -> satisfiable by egeloen/google-map-bundle[2.2.0, 2.2.1].
> - Conclusion: don't install symfony/symfony v3.3.10
我如何修复它或知道另一个适用于symfony3的捆绑包?
解决方案在捆绑包作者的网站上:https://github.com/egeloen/IvoryGoogleMapBundle/issues/175#issuecomment-244535511
这是文件 composer.json 中的代码:
{
"require": {
"egeloen/google-map": "^2.0@dev",
"egeloen/google-map-bundle": "^3.0@dev"
}
}
并且需要此代码:
$ composer update --ignore-platform-reqs
此链接中此部分的解决方案:https://stackoverflow.com/a/32839015/2400373
问候