dingtalk
dingtalk copied to clipboard
Laravel 8.0 兼容问题
在使用laravel8.0,安装这个包,会有依赖问题:
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for mingyoung/dingtalk ^2.3.1 -> satisfiable by mingyoung/dingtalk[2.3.1, 2.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.0.1, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.0.x-dev, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.1.0, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.1.1, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.2.0, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.3.0, 6.5.x-dev].
- Can only install one of: guzzlehttp/guzzle[7.4.x-dev, 6.5.x-dev].
- overtrue/http 1.1.3 requires guzzlehttp/guzzle ^6.3 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
- Conclusion: install overtrue/http 1.1.3
- Installation request for guzzlehttp/guzzle ^7.0.1 -> satisfiable by guzzlehttp/guzzle[7.0.1, 7.0.x-dev, 7.1.0, 7.1.1, 7.2.0, 7.3.0, 7.4.x-dev].
因为easydingtalk中,依赖了 overtrue/http 1.1.3 ; 后者又使用了 "guzzlehttp/guzzle": "^6.3"。
而laravel 8.0 需要使用 "guzzlehttp/guzzle": "^7.0.1"。 所以有冲突,安装不上;
所以请问大佬,为什么在package里面固定依赖 overtrue/http 1.1.3 ?能否方便升级到最新版本,即可解决依赖冲突问题。
会在 3.x 版本修复哈
好的,期待更新