>백엔드 개발 >PHP 튜토리얼 >Dingo api安装不上-lumen下安装

Dingo api安装不上-lumen下安装

WBOY
WBOY원래의
2016-07-06 13:54:001311검색

lumen是5.2.7
lumen根目录>composer require dingo/api:1.0.x@dev

<code>./composer.json has been updated
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</code>
    • Conclusion: don't install dingo/api 1.0.x-dev

    • Conclusion: don't install dingo/api v1.0.0-beta3

    • Conclusion: don't install dingo/api v1.0.0-beta2

    • Conclusion: remove illuminate/container v5.2.32

    • Installation request for phpdocumentor/reflection-docblock (locked at 3.0.
      2) -> satisfiable by phpdocumentor/reflection-docblock[3.0.2].

    • Installation request for dingo/api 1.0.x@dev -> satisfiable by dingo/api[1
      .0.x-dev, v1.0.0-beta1, v1.0.0-beta2, v1.0.0-beta3].

    • Conclusion: don't install illuminate/container v5.2.32

    • dingo/api v1.0.0-beta1 requires illuminate/routing 5.1.* -> satisfiable by

      <code>illuminate/routing[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25,
      v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].</code>
    • illuminate/routing v5.1.1 requires illuminate/container 5.1.* -> satisfiab

    1. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.13 requires illuminate/container 5.1.* -> satisfia

    2. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.16 requires illuminate/container 5.1.* -> satisfia

    3. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.2 requires illuminate/container 5.1.* -> satisfiab

    4. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.20 requires illuminate/container 5.1.* -> satisfia

    5. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.22 requires illuminate/container 5.1.* -> satisfia

    6. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.25 requires illuminate/container 5.1.* -> satisfia

    7. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.28 requires illuminate/container 5.1.* -> satisfia

    8. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.30 requires illuminate/container 5.1.* -> satisfia

    9. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.31 requires illuminate/container 5.1.* -> satisfia

    10. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.6 requires illuminate/container 5.1.* -> satisfiab

    11. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.8 requires illuminate/container 5.1.* -> satisfiab

    12. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • Can only install one of: illuminate/container[v5.1.1, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.13, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.16, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.2, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.20, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.22, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.25, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.28, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.30, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.31, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.6, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.8, v5.2.32].

      • Installation request for illuminate/container (locked at v5.2.32) -> satis

    13. by illuminate/container[v5.2.32].

    Installation failed, reverting ./composer.json to its original content.

    回复内容:

    lumen是5.2.7
    lumen根目录>composer require dingo/api:1.0.x@dev

    <code>./composer.json has been updated
    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</code>
    • Conclusion: don't install dingo/api 1.0.x-dev

    • Conclusion: don't install dingo/api v1.0.0-beta3

    • Conclusion: don't install dingo/api v1.0.0-beta2

    • Conclusion: remove illuminate/container v5.2.32

    • Installation request for phpdocumentor/reflection-docblock (locked at 3.0.
      2) -> satisfiable by phpdocumentor/reflection-docblock[3.0.2].

    • Installation request for dingo/api 1.0.x@dev -> satisfiable by dingo/api[1
      .0.x-dev, v1.0.0-beta1, v1.0.0-beta2, v1.0.0-beta3].

    • Conclusion: don't install illuminate/container v5.2.32

    • dingo/api v1.0.0-beta1 requires illuminate/routing 5.1.* -> satisfiable by

      <code>illuminate/routing[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v5.1.25,
      v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].</code>
    • illuminate/routing v5.1.1 requires illuminate/container 5.1.* -> satisfiab

    1. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.13 requires illuminate/container 5.1.* -> satisfia

    2. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.16 requires illuminate/container 5.1.* -> satisfia

    3. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.2 requires illuminate/container 5.1.* -> satisfiab

    4. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.20 requires illuminate/container 5.1.* -> satisfia

    5. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.22 requires illuminate/container 5.1.* -> satisfia

    6. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.25 requires illuminate/container 5.1.* -> satisfia

    7. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.28 requires illuminate/container 5.1.* -> satisfia

    8. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.30 requires illuminate/container 5.1.* -> satisfia

    9. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.31 requires illuminate/container 5.1.* -> satisfia

    10. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22,
      v5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.6 requires illuminate/container 5.1.* -> satisfiab

    11. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • illuminate/routing v5.1.8 requires illuminate/container 5.1.* -> satisfiab

    12. by illuminate/container[v5.1.1, v5.1.13, v5.1.16, v5.1.2, v5.1.20, v5.1.22, v
      5.1.25, v5.1.28, v5.1.30, v5.1.31, v5.1.6, v5.1.8].

      • Can only install one of: illuminate/container[v5.1.1, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.13, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.16, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.2, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.20, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.22, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.25, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.28, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.30, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.31, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.6, v5.2.32].

      • Can only install one of: illuminate/container[v5.1.8, v5.2.32].

      • Installation request for illuminate/container (locked at v5.2.32) -> satis

    13. by illuminate/container[v5.2.32].

    Installation failed, reverting ./composer.json to its original content.

    성명:
    본 글의 내용은 네티즌들의 자발적인 기여로 작성되었으며, 저작권은 원저작자에게 있습니다. 본 사이트는 이에 상응하는 법적 책임을 지지 않습니다. 표절이나 침해가 의심되는 콘텐츠를 발견한 경우 admin@php.cn으로 문의하세요.