作曲家无法使用 zfcUser 进行更新



我尝试用作曲家安装zfcUser,成功安装了ZfcBase和ZfcAdmin,但是zfcUser失败了?

作曲家.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.*",
            "zf-commons/zfc-base": "dev-master",
            "zf-commons/zfc-admin": "dev-master",
            "zf-commons/zfc-user": "~0.1.2"
        }
    }

作曲家更新结果:

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
    - Conclusion: don't install zf-commons/zfc-base v0.1.2
    - Conclusion: remove zendframework/zendframework 2.2.4
    - Conclusion: don't install zendframework/zendframework 2.2.4
    - Conclusion: don't install zendframework/zendframework 2.2.3
    - Installation request for zf-commons/zfc-user ~0.1.2 -> satisfiable by zf-commons/zfc-user[0.1.2].
    - Conclusion: don't install zendframework/zendframework 2.2.2
    - Installation request for zf-commons/zfc-base dev-master -> satisfiable by zf-commons/zfc-base[dev-master].
    - Conclusion: don't install zendframework/zendframework 2.2.1
    - zf-commons/zfc-user 0.1.2 requires zf-commons/zfc-base 0.* -> satisfiable by zf-commons/zfc-base[0.0.1, 0.1.0, 0.1.1, v0.1.2].
    - zf-commons/zfc-base 0.0.1 requires zendframework/zendframework 2.0.* -> satisfiable by zendframework/zendframework[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.0.4, 2.0.5, 2.0.6, 2.0.7, 2.0.8].
    - zf-commons/zfc-base 0.1.0 requires zendframework/zendframework 2.1.* -> satisfiable by zendframework/zendframework[2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5].
    - zf-commons/zfc-base 0.1.1 requires zendframework/zend-stdlib 2.1.* -> satisfiable by zendframework/zendframework[2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5], zendframework/zend-stdlib[2.1.0, 2.1.1, 2.1.2, 2.1.3, 2.1.4, 2.1.5].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.0].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.1].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.2].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.3].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.4].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.5].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.6].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.7].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.0.8].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.1.0].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.1.1].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.1.2].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.1.3].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.1.4].
    - Can only install one of: zendframework/zendframework[2.2.0, 2.1.5].
    - don't install zendframework/zend-stdlib 2.1.0|don't install zendframework/zendframework 2.2.0
    - don't install zendframework/zend-stdlib 2.1.1|don't install zendframework/zendframework 2.2.0
    - don't install zendframework/zend-stdlib 2.1.2|don't install zendframework/zendframework 2.2.0
    - don't install zendframework/zend-stdlib 2.1.3|don't install zendframework/zendframework 2.2.0
    - don't install zendframework/zend-stdlib 2.1.4|don't install zendframework/zendframework 2.2.0
    - don't install zendframework/zend-stdlib 2.1.5|don't install zendframework/zendframework 2.2.0
    - Installation request for zendframework/zendframework 2.2.* -> satisfiable by zendframework/zendframework[2.2.0, 2.2.1, 2.2.2, 2.2.3, 2.2.4].

您明确要求 Zend Framework 版本 2.2.* ,但您也使用的组件需要版本 2.1.* - 这永远行不通。

要么让Zfc组件升级它们的需求,要么使用较旧的Zend框架。尝试将"zendframework/zendframework" : "*"作为启动器,看看会发生什么。

相关内容

  • 没有找到相关文章

最新更新