作曲家的需求可以解决为一组可安装的软件包 - ZendFramework



试图将marketplacephp (marketplacephp.com(部署到localhost。Composer 安装给我带来了依赖项问题,我花了几个小时试图调整它们,使它们无济于事。

有没有更有经验的人能够发现如何解决这个问题?

附言在Windows和ubuntu 14.04上尝试过,结果相同。

作曲家.json

"require": {
        "php": ">=5.3.3",
        "zendframework/zendframework": "2.3.*",
        "doctrine/mongodb-odm": "1.0.0-BETA11",
        "elasticsearch/elasticsearch": "1.3.0",
        "lusitanian/oauth": "~0.3",
        "geoip2/geoip2": "~2.0",
        "balanced/balanced": "1.*",
        "studio-42/elfinder": "2.*@dev",
        "reliv/elfinder" : "2.0.0-alpha",
        "stripe/stripe-php": "2.*"
    },
    "require-dev": {
        "zendframework/zend-developer-tools": "dev-master",
        "zendframework/zftool": "dev-master",
        "phpmd/phpmd": "1.5.*"
    }

输出

C:xampphtdocsmarketplace-dev>composer install
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
    - Installation request for reliv/elfinder 2.0.0-alpha -> satisfiable by reliv/elfinder[2.0.0-alpha].
    - Conclusion: don't install zendframework/zendframework 2.3.9
    - Conclusion: don't install zendframework/zendframework 2.3.8
    - Conclusion: don't install zendframework/zendframework 2.3.7
    - Conclusion: don't install zendframework/zendframework 2.3.6
    - Conclusion: don't install zendframework/zendframework 2.3.5
    - Conclusion: don't install zendframework/zendframework 2.3.4
    - Conclusion: don't install zendframework/zendframework 2.3.3
    - Installation request for zendframework/zend-developer-tools dev-master -> satisfiable by zendframework/zend-developer-tools[dev-master].
    - Conclusion: don't install zendframework/zendframework 2.3.2
    - zendframework/zend-developer-tools dev-master requires zendframework/zend-debug ^2.5 || ^3.0 -> satisfiable by zendframework/zend-debug[2.5.0, 2.5.1].
    - don't install zendframework/zend-debug 2.5.0|don't install zendframework/zendframework 2.3.0
    - don't install zendframework/zend-debug 2.5.1|don't install zendframework/zendframework 2.3.0
    - reliv/elfinder 2.0.0-alpha requires zendframework/zendframework 2.* -> satisfiable by zendframework/zendframework[2.3.0, 2.3.1, 2.3.2, 2.3.3, 2.3.4, 2.3.5, 2.3.6, 2.3.7, 2.3.8, 2.3.9].
    - Conclusion: don't install zendframework/zendframework 2.3.1

"zendframework/zend-developer-tools": "dev-master"更改为"zendframework/zend-developer-tools": "^1.0"
dev-master只适用于早期开发时间,但不应长期使用。在这种情况下,开发人员工具的当前主分支具有比项目支持更高的最低要求。

我应该注意,这组依赖项暗示您尝试安装的软件在大约 3 年内未更新。

相关内容

  • 没有找到相关文章

最新更新