我創建了一個symfony應用程序,並在我的composer.json補充說:依賴
- 奏鳴曲項目/管理員束
- 奏鳴曲項目/格式化束
- 奏鳴曲項目/ INTL-束
- 奏鳴曲項目/媒體束
- 奏鳴曲項目/分類束
- 奏鳴曲項目/用戶束
當我用
作曲家安裝
所有工作的罰款。但是,當我想更新時,我有太多的依賴關係錯誤,例如,用戶包需要管理束2.x-dev和分類束需要管理束3.0.0。我爲每個奏鳴曲包嘗試了不同的(包括dev-master)。
有人可以幫助我嗎?
我創建了一個symfony應用程序,並在我的composer.json補充說:依賴
當我用
作曲家安裝
所有工作的罰款。但是,當我想更新時,我有太多的依賴關係錯誤,例如,用戶包需要管理束2.x-dev和分類束需要管理束3.0.0。我爲每個奏鳴曲包嘗試了不同的(包括dev-master)。
有人可以幫助我嗎?
你可以粘貼你所需要的版本嗎?
如果您需要更多寬容版本,則可能會解決該問題。例如,如果您要求全部爲v3.0.0
,那麼如果圖書館的標記策略設計得不好,可能會出現錯誤。但是,如果您使用*
,則作曲家可能會找到適合所有交叉要求的版本。
我composer.json:
{
"name": "navalex/.checkout",
"license": "proprietary",
"type": "project",
"minimum-stability": "dev",
"autoload": {
"psr-4": {
"": "src/"
},
"classmap": [
"app/AppKernel.php",
"app/AppCache.php"
]
},
"require": {
"php": ">=5.3.9",
"symfony/symfony": "2.8.*",
"doctrine/orm": "^2.4.8",
"doctrine/doctrine-bundle": "~1.4",
"symfony/swiftmailer-bundle": "~2.3",
"symfony/monolog-bundle": "~2.4",
"sensio/distribution-bundle": "~5.0",
"sensio/framework-extra-bundle": "^3.0.2",
"incenteev/composer-parameter-handler": "~2.0",
"ornicar/gravatar-bundle": "^1.1",
"coresphere/console-bundle": "dev-master",
"whiteoctober/breadcrumbs-bundle": "^1.2",
"stof/doctrine-extensions-bundle": "^1.2",
"sonata-project/admin-bundle": "3.0.0",
"sonata-project/block-bundle": "3.0.0",
"sonata-project/doctrine-orm-admin-bundle": "3.0.0",
"sonata-project/easy-extends-bundle": "^2.1",
"sonata-project/formatter-bundle": "^2.3",
"sonata-project/intl-bundle": "^2.2",
"sonata-project/media-bundle": "^2.3",
"sonata-project/classification-bundle": "^2.2",
"sonata-project/user-bundle": "^2.2"
},
"require-dev": {
"sensio/generator-bundle": "~3.0",
"symfony/phpunit-bridge": "~2.7"
},
"scripts": {
"post-install-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
],
"post-update-cmd": [
"Incenteev\\ParameterHandler\\ScriptHandler::buildParameters",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::buildBootstrap",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::clearCache",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installAssets",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::installRequirementsFile",
"Sensio\\Bundle\\DistributionBundle\\Composer\\ScriptHandler::prepareDeploymentTarget"
]
},
"config": {
"bin-dir": "bin",
"platform": {
"php": "5.5"
}
},
"extra": {
"symfony-app-dir": "app",
"symfony-web-dir": "web",
"symfony-assets-install": "relative",
"incenteev-parameters": {
"file": "app/config/parameters.yml"
}
}
}