安装微信sdk版本报错误
composer require overtrue/wechat ^5.0
The "5.0" constraint for "overtrue/wechat" appears too strict and will likely not match what you want. See https://getcomposer.org/constraints
./composer.json has been updated
Running composer update overtrue/wechat
Loading composer repositories with package information
Updating dependencies
Your requirements could not be resolved to an installable set of packages.
Problem 1
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.
^
字符被powershell转义了,用下面命令装跪谢大佬
建议更新文档,使用最新版的 6.x
5.0好像跟目前的很多版本都有冲突 6.0才兼容