Closed feng-yifan closed 3 years ago
@tpirc3
目前手动将 Laravel 8 的 guzzlehttp/guzzle
依赖版本降级至 ^6.3
作为临时方案了
直接迁移到 wechatpay-php 呢?
Guzzle7
上,废弃了 \GuzzleHttp\json_encode
及 \GuzzleHttp\Psr7\hash
方法,分别被移动至 \GuzzleHttp\Utils::jsonEncode
及 GuzzleHttp\Psr7\Utils::hash
上,Laravel 8+
建议直接用 wechatpay-php
包,测试用例覆盖环境从PHP7.2~8.0
都有github actions覆盖,可以顺畅使用。
直接迁移到 wechatpay-php 呢?
好的, 之前没有留意到有这个包
Guzzle7
上,废弃了\GuzzleHttp\json_encode
及\GuzzleHttp\Psr7\hash
方法,分别被移动至\GuzzleHttp\Utils::jsonEncode
及GuzzleHttp\Psr7\Utils::hash
上,Laravel 8+
建议直接用wechatpay-php
包,测试用例覆盖环境从PHP7.2~8.0
都有github actions覆盖,可以顺畅使用。
多谢!
最新的 Laravel 8 对 GuzzleHttp 的依赖已经高过这个包的依赖了
Laravel 8 会给出如下错误