Coder Social home page Coder Social logo

think-api's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

yuanzhihai

think-api's Issues

guzzle 与 阿里云sdk 的 guzzle 版本冲突

安装时报错:

shell : composer req "topthink/think-api:^1.0"

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - topthink/think-api[v1.0.0, ..., v1.0.3] require guzzlehttp/guzzle ^7.0 -> found guzzlehttp/guzzle[7.0.0, ..., 7.4.1] but the package is fixed to 6.4.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - topthink/think-api[v1.0.4, ..., v1.0.23] require guzzlehttp/guzzle ^6.5 || ^7.0 -> found guzzlehttp/guzzle[6.5.0, ..., 6.5.5, 7.0.0, ..., 7.4.1] but the package is fixed to 6.4.1 (lock file version) by a partial update and that version does not match. Make sure you list it as an argument for the update command.
    - Root composer.json requires topthink/think-api ^1.0 -> satisfiable by topthink/think-api[v1.0.0, ..., v1.0.23].

Use the option --with-all-dependencies (-W) to allow upgrades, downgrades and removals for packages currently locked to specific versions.

Installation failed, reverting ./composer.json and ./composer.lock to their original content.

通过查看依赖发现与阿里云sdk不兼容

shell composer show --tree


alibabacloud/client 1.5.18 Alibaba Cloud Client for PHP - Use Alibaba Cloud in your PHP project
├──adbario/php-dot-notation ^2.2
│  ├──ext-json *
│  └──php >=5.5
├──clagiordano/weblibs-configmanager ^1.0
│  └──php >=5.4
├──danielstjules/stringy ^3.1
│  ├──php >=5.4.0
│  └──symfony/polyfill-mbstring ~1.1
│     └──php >=5.3.3
├──ext-curl *
├──ext-json *
├──ext-libxml *
├──ext-mbstring *
├──ext-openssl *
├──ext-simplexml *
├──ext-xmlwriter *
├──guzzlehttp/guzzle ^6.3
│  ├──ext-json *
│  ├──guzzlehttp/promises ^1.0
│  │  └──php >=5.5.0
│  ├──guzzlehttp/psr7 ^1.6.1
│  │  ├──php >=5.4.0
│  │  ├──psr/http-message ~1.0
│  │  │  └──php >=5.3.0
│  │  └──ralouphie/getallheaders ^2.0.5 || ^3.0.0
│  │     └──php >=5.6
│  └──php >=5.5
├──mtdowling/jmespath.php ^2.4
│  └──php >=5.4.0
└──php >=5.5

能否增加对 guzzle 6 的兼容以兼容其他库?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.