hyperf3.1我无法执行安装,只能默认装上1.5
当前环境: php8.2 swoole5.1 hyperf3.1
执行失败: /data/project # composer require yansongda/hyperf-pay:~1.7.0 ./composer.json has been updated Running composer update yansongda/hyperf-pay Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires yansongda/hyperf-pay ~1.7.0 -> satisfiable by yansongda/hyperf-pay[v1.7.0]. - yansongda/artful[v1.0.9, ..., v1.1.2] require guzzlehttp/psr7 ^2.6 -> found guzzlehttp/psr7[2.6.0, ..., 2.7.x-dev] but the package is fixed to 1.9.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. - yansongda/hyperf-pay v1.7.0 requires yansongda/pay ~3.7.0 -> satisfiable by yansongda/pay[v3.7.0, ..., v3.7.11]. - yansongda/pay[v3.7.0, ..., v3.7.1] require yansongda/artful ~1.0.9 -> satisfiable by yansongda/artful[v1.0.9]. - yansongda/pay[v3.7.9, ..., v3.7.11] require yansongda/artful ~1.1.1 -> satisfiable by yansongda/artful[v1.1.1, v1.1.2]. - yansongda/pay[v3.7.2, ..., v3.7.8] require yansongda/artful ~1.1.0 -> satisfiable by yansongda/artful[v1.1.0, v1.1.1, v1.1.2].
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.
删除lock文件,再执行: /data/project # composer require yansongda/hyperf-pay:~1.7.0 ./composer.json has been updated Running composer update yansongda/hyperf-pay Loading composer repositories with package information Updating dependencies Your requirements could not be resolved to an installable set of packages.
Problem 1 - Root composer.json requires alibabacloud/facebody-20191230 ^4.1 -> satisfiable by alibabacloud/facebody-20191230[4.1.0, 4.1.1, 4.1.2]. - Root composer.json requires roave/security-advisories dev-latest -> satisfiable by roave/security-advisories[dev-latest]. - Root composer.json requires yansongda/hyperf-pay ~1.7.0 -> satisfiable by yansongda/hyperf-pay[v1.7.0]. - alibabacloud/facebody-20191230[4.1.0, ..., 4.1.2] require alibabacloud/tea-oss-utils ^0.3.1 -> satisfiable by alibabacloud/tea-oss-utils[0.3.1]. - alibabacloud/tea-oss-utils[0.3.0, ..., 0.3.1] require guzzlehttp/psr7 ^1.0 -> satisfiable by guzzlehttp/psr7[1.0.0, ..., 1.9.x-dev]. - roave/security-advisories dev-latest conflicts with guzzlehttp/psr7 1.9.0. - roave/security-advisories dev-latest conflicts with guzzlehttp/psr7 1.5.2. - roave/security-advisories dev-latest conflicts with guzzlehttp/psr7 1.4.2. - Conclusion: install guzzlehttp/psr7 2.7.0 (conflict analysis result) - You can only install one version of a package, so only one of these can be installed: guzzlehttp/psr7[1.0.0, ..., 1.9.x-dev, 2.0.0-beta1, ..., 2.7.x-dev].
Installation failed, reverting ./composer.json to its original content.
没办法,因为我这边没法对alibabacloud阿里那边进行调整,我只能执行: /data/project # composer require yansongda/hyperf-pay ......... Installing dependencies from lock file (including require-dev) Package operations: 3 installs, 0 updates, 2 removals
- Removing yurunsoft/yurun-http (v5.0.1)
- Removing yurunsoft/pay-sdk (v3.1.7)
- Installing yansongda/supports (v4.0.12): Extracting archive
- Installing yansongda/pay (v3.5.3): Extracting archive
- Installing yansongda/hyperf-pay (v1.5.0): Extracting archive
44 package suggestions were added by new dependencies, use
composer suggestto see details. Package laminas/laminas-mime is abandoned, you should avoid using it. Use symfony/mime instead. Generating optimized autoload files
rm -rf runtime/container 142 packages you are using are looking for funding. Use the
composer fundcommand to find out more! No security vulnerability advisories found. Using version ^1.5 for yansongda/hyperf-pay
疑问: 想知道1.5和1.7有什么区别,适配我当前PHP8.2 swoole5.1 hyperf3.1吗?或者1.5存在什么问题吗?适配当前微信支付V3吗?