Laravel 如何通过github安装扩展包?或者有能用的 腾讯云储存的扩展包推荐个给我~

laravel8 想安装 腾讯云的cos的云储存扩展包 ,作者给的 composer ;

composer require "freyo/flysystem-qcloud-cos-v5:^2.0" -vvv

这个是github包

https://github.com/freyo/flysystem-qcloud-cos-v5

安装过程过程中提示

 Problem 1
    - Installation request for guzzlehttp/guzzle (locked at 7.2.0, required as ^7.0.1) -> satisfiable by guzzlehttp/guzzle[7.2.0].
    - freyo/flysystem-qcloud-cos-v5 2.0.0 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - freyo/flysystem-qcloud-cos-v5 2.0.1 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - freyo/flysystem-qcloud-cos-v5 2.0.2 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - freyo/flysystem-qcloud-cos-v5 2.0.3 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - freyo/flysystem-qcloud-cos-v5 2.1.0 requires guzzlehttp/guzzle ~6.0 -> satisfiable by guzzlehttp/guzzle[6.5.x-dev].
    - Conclusion: don't install guzzlehttp/guzzle 6.5.x-dev
    - Installation request for freyo/flysystem-qcloud-cos-v5 ^2.0 -> satisfiable by freyo/flysystem-qcloud-cos-v5[2.0.0, 2.0.1, 2.0.2, 2.0.3, 2.1.0].

所以判断是guzzle 需要7.2.0以上版本,我猜测应该是 扩展包里面的composer.json 最高只能7.0的原因,所以我想 把作者的扩展包fork到我自己的gihub下面,编辑好了7.2.0安装;结果已经编辑好了,但是不知道如何安装 。

《L01 基础入门》
我们将带你从零开发一个项目并部署到线上,本课程教授 Web 开发中专业、实用的技能,如 Git 工作流、Laravel Mix 前端工作流等。
《G01 Go 实战入门》
从零开始带你一步步开发一个 Go 博客项目,让你在最短的时间内学会使用 Go 进行编码。项目结构很大程度上参考了 Laravel。
讨论数量: 5
颠倒的玉石

你的php版本低了

3年前 评论

降低guzzlehttp/guzzle版本到6.x,就没问题,因为腾讯云官方SDK用的是6.0的版本

3年前 评论

https://github.com/telstatic/rakan 支持 OSS OBS COS QINIU

3年前 评论

overtrue 应该可以 我稍后试下 ,之前用过 overtrue 很多包 挺不错的 谢谢你

3年前 评论

讨论应以学习和精进为目的。请勿发布不友善或者负能量的内容,与人为善,比聪明更重要!