我正在嘗試安裝hslavich/SimplesamlphpBundle
。由於此捆綁包與simplesamlphp/simplesamlphp v1.13.2
存在依賴關係問題,因此我需要並且需要dev-master
。使用分叉Symfony包通過作曲失敗
現在我修改我的Symfony2的項目composer.json
因此,爲了要求我的分叉束代替了原來的一個:
{
...
"require": {
...
"hslavich/simplesamlphp-bundle": "dev-master"
},
...
"repositories": [
{
"type": "vcs",
"url": "[email protected]:saxid/SimplesamlphpBundle.git"
}
]
}
但我仍然得到同樣的錯誤消息,如果沒有使用叉:
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- simplesamlphp/simplesamlphp v1.13.2 requires openid/php-openid dev-master#ee669c6a9d4d95b58ecd9b6945627276807694fb as 2.2.2 -> no matching package found.
- simplesamlphp/simplesamlphp v1.13.1 requires openid/php-openid dev-master#ee669c6a9d4d95b58ecd9b6945627276807694fb as 2.2.2 -> no matching package found.
- simplesamlphp/simplesamlphp v1.13.0 requires openid/php-openid dev-master#ee669c6a9d4d95b58ecd9b6945627276807694fb as 2.2.2 -> no matching package found.
- hslavich/simplesamlphp-bundle dev-master requires simplesamlphp/simplesamlphp ~1.13 -> satisfiable by simplesamlphp/simplesamlphp[v1.13.0, v1.13.1, v1.13.2].
- Installation request for hslavich/simplesamlphp-bundle dev-master -> satisfiable by hslavich/simplesamlphp-bundle[dev-master].
我需要修改我的composer.json
以便要求我的分叉?
不幸的是同樣的問題... –
你能發佈完整的'composer.json'文件嗎? –
這是我的問題中提到的添加內容的默認Symfony作曲家文件。沒有進一步修改。 –