我正在尝试使用 composer 将教义 2 ORM 上传到我的项目,但我不断收到以下错误消息。我将不胜感激任何帮助解决它。
作曲家.json
{
"name": "zendframework/skeleton-application",
"description": "Skeleton Application for ZF2",
"license": "BSD-3-Clause",
"keywords": [
"framework",
"zf2"
],
"homepage": "http://framework.zend.com/",
"require": {
"php": ">=5.3.3",
"zendframework/zendframework": ">2.2.0rc1",
"zendframework/zend-developer-tools": "dev-master",
"doctrine/doctrine-orm-module": "0.7.*",
"zf-commons/zfc-base": "dev-master",
"zf-commons/zfc-user": "dev-master",
"zf-commons/zfc-user-doctrine-orm": "0.1.*",
"bjyoungblood/bjy-authorize": "1.2.*"
}
}
错误信息:
Problem 1
- Installation request for zf-commons/zfc-base dev-master -> satisfiable by zf-commons/zfc-base dev-master.
- zf-commons/zfc-user 0.1.2 requires zf-commons/zfc-base 0.* -> satisfiable by zf-commons/zfc-base v0.1.2, zf-commons/zfc-base 0.0.1, zf-commons/zfc-base 0.1.0, zf-commons/zfc-base 0.1.1, zf-commons/zfc-base v0.1.2.
- Can only install one of: zf-commons/zfc-base dev-master, zf-commons/zfc-base v0.1.2.
- Can only install one of: zf-commons/zfc-base dev-master, zf-commons/zfc-base 0.0.1.
- Can only install one of: zf-commons/zfc-base dev-master, zf-commons/zfc-base 0.1.0.
- Can only install one of: zf-commons/zfc-base dev-master, zf-commons/zfc-base 0.1.1.
- Can only install one of: zf-commons/zfc-base v0.1.2, zf-commons/zfc-base dev-master.
- Installation request for zf-commons/zfc-user 0.1.2 -> satisfiable by zf-commons/zfc-user 0.1.2.
我尝试的解决方案:
"zf-commons/zfc-user": "0.1.2"
"zf-commons/zfc-user": "~0.1.2",
我尝试了两种解决方案,但没有奏效。