Composer无法使用zfc用户原则orm进行更新



我正试图使用composer将doctrine2 ORM上传到我的项目中,但我一直收到下面的错误消息。我将感谢任何帮助解决它。

composer.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",

我尝试了两种解决方案,但都不起作用。

试试这个;

{
"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": "0.*",
    "zf-commons/zfc-user": "0.1.*",
    "zf-commons/zfc-user-doctrine-orm": "0.1.*",
    "bjyoungblood/bjy-authorize": "1.2.*"
}
} 

相关内容

  • 没有找到相关文章

最新更新