dev需要php^8.0->您的php版本(7.4.13)不满足该要求

8xiog9wr  于 2021-09-29  发布在  Java
关注(0)|答案(1)|浏览(381)

**已关闭。**此问题不可复制或由打字错误引起。它目前不接受答案。
**想要改进此问题?**更新问题,使其位于堆栈溢出主题上。

昨天关门了。
改进这个问题
我正在尝试安装 league/flysystem-aws-s3-v3 包裹我目前的laravel版本是 5.7.* 当我试着跑的时候 composer require league/flysystem-aws-s3-v3 "^1.0" 我遇到很多问题:(

Your requirements could not be resolved to an installable set of packages.

    Problem 1
        - laravel/framework 9.x-dev requires php ^8.0 -> your PHP version (7.4.13) does not satisfy that requirement.
        - Conclusion: don't install fruitcake/laravel-cors v2.0.4
        - Conclusion: don't install fruitcake/laravel-cors v2.0.3
        - Conclusion: don't install fruitcake/laravel-cors v2.0.2
        - Conclusion: don't install fruitcake/laravel-cors v2.0.1
        - Conclusion: don't install fruitcake/laravel-cors v2.0.0
        - Conclusion: don't install fruitcake/laravel-cors v2.0.0-beta3
        - Conclusion: don't install fruitcake/laravel-cors v2.0.0-beta2
        - Conclusion: don't install fruitcake/laravel-cors v2.0.0-beta1
        - Conclusion: remove laravel/framework v5.7.28
        - Installation request for asm89/stack-cors (locked at 1.2.0) -> satisfiable by asm89/stack-cors[1.2.0].
        - Installation request for fruitcake/laravel-cors ^2.0 -> satisfiable by fruitcake/laravel-cors[2.0.x-dev, v2.0.0, v2.0.0-beta1, v2.0.0-beta2, v2.0.0-beta3, v2.0.1, v2.0.2, v2.0.3, v2.0.4].
        - Conclusion: don't install laravel/framework v5.7.28
        - fruitcake/laravel-cors 2.0.x-dev requires illuminate/support ^6|^7|^8|^9 -> satisfiable by illuminate/support[6.x-dev, 7.x-dev, 8.x-dev, 9.x-dev, v6.0.0, v6.0.1, v6.0.2, v6.0.3, v6.0.4, v6.1.0, v6.10.0, v6.11.0, v6.12.0, v6.13.0, v6.13.1, v6.14.0, v6.15.0, v6.15.1, v6.16.0, v6.17.0, v6.17.1, v6.18.0, v6.18.1, v6.18.10, v6.18.11, v6.18.12, v6.18.13, v6.18.14, v6.18.15, v6.18.16, v6.18.17, v6.18.18, v6.18.19, v6.18.2, v6.18.20, v6.18.21, v6.18.22, v6.18.23, v6.18.24, v6.18.25, v6.18.26, v6.18.27, v6.18.28, v6.18.29, v6.18.3, v6.18.30, v6.18.31, v6.18.32, v6.18.33, v6.18.34, v6.18.35, v6.18.36, v6.18.37, v6.18.38, v6.18.39, v6.18.4, v6.18.40, v6.18.41, v6.18.42, v6.18.43, v6.18.5, v6.18.6, v6.18.7, v6.18.8, v6.18.9, v6.19.0, v6.19.1, v6.2.0, v6.20.0, v6.20.1, v6.20.10, v6.20.11, v6.20.12, v6.20.13, v6.20.14, v6.20.15, v6.20.16, v6.20.17, v6.20.18, v6.20.19, v6.20.2, v6.20.20, v6.20.21, v6.20.22, v6.20.23, v6.20.24, v6.20.25, v6.20.26, v6.20.27, v6.20.28, v6.20.29, v6.20.3, v6.20.30, v6.20.4, v6.20.5, v6.20.6, v6.20.7, v6.20.8, v6.20.9, v6.3.0, v6.4.1, v6.5.0, v6.5.1, v6.5.2, v6.6.0, v6.6.1, v6.6.2, v6.7.0, v6.8.0, v7.0.0, v7.0.1, v7.0.2, v7.0.3, v7.0.4, v7.0.5, v7.0.6, v7.0.7, v7.0.8, v7.1.0, v7.1.1, v7.1.2, v7.1.3, v7.10.0, v7.10.1, v7.10.2, v7.10.3, v7.11.0, v7.12.0, v7.13.0, v7.14.0, v7.14.1, v7.15.0, v7.16.0, v7.16.1, v7.17.0, v7.17.1, v7.17.2, v7.18.0, v7.19.0, v7.19.1, v7.2.0, v7.2.1, v7.2.2, v7.20.0, v7.21.0, v7.22.0, v7.22.1, v7.22.2, v7.22.3, v7.22.4, v7.23.0, v7.23.1, v7.23.2, v7.24.0, v7.25.0, v7.26.0, v7.26.1, v7.27.0, v7.28.0, v7.28.1, v7.28.2, v7.28.3, v7.28.4, v7.29.0, v7.29.1, v7.29.2, v7.29.3, v7.3.0, v7.30.0, v7.30.1, v7.30.2, v7.30.3, v7.30.4, v7.4.0, v7.5.0, v7.5.1, v7.5.2, v7.6.0, v7.6.1, v7.6.2, v7.7.0, v7.7.1, v7.8.0, v7.8.1, v7.9.0, v7.9.1, v7.9.2, v8.0.0, v8.0.1, v8.0.2, v8.0.3, v8.0.4, v8.1.0, v8.10.0, v8.11.0, v8.11.1, v8.11.2, v8.12.0, v8.12.1, v8.12.2, v8.12.3, v8.13.0, v8.14.0, v8.15.0, v8.16.0, v8.16.1, v8.17.0, v8.17.2, v8.18.0, v8.18.1, v8.19.0, v8.2.0, v8.20.0, v8.20.1, v8.21.0, v8.22.0, v8.22.1, v8.23.1, v8.24.0, v8.25.0, v8.26.0, v8.26.1, v8.27.0, v8.28.0, v8.28.1, v8.29.0, v8.3.0, v8.30.0, v8.30.1, v8.31.0, v8.32.0, v8.32.1, v8.33.0, v8.33.1, v8.34.0, v8.35.0, v8.35.1, v8.36.0, v8.36.1, v8.36.2, v8.37.0, v8.38.0, v8.39.0, v8.4.0, v8.40.0, v8.41.0, v8.42.0, v8.42.1, v8.43.0, v8.44.0, v8.45.0, v8.45.1, v8.46.0, v8.47.0, v8.48.0, v8.48.1, v8.48.2, v8.49.0, v8.49.1, v8.49.2, v8.5.0, v8.50.0, v8.51.0, v8.6.0, v8.7.0, v8.7.1, v8.8.0, v8.9.0], laravel/framework[9.x-dev].
        - don't install illuminate/support 6.x-dev|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.0.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.0.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.0.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.0.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.0.4|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.1.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.10.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.11.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.12.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.13.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.13.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.14.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.15.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.15.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.16.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.17.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.17.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.10|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.11|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.12|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.13|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.14|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.15|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.16|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.17|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.18|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.19|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.20|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.21|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.22|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.23|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.24|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.25|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.26|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.27|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.28|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.29|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.30|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.31|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.32|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.33|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.34|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.35|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.36|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.37|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.38|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.39|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.4|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.40|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.41|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.42|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.43|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.5|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.6|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.7|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.8|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.18.9|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.19.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.19.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.2.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.10|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.11|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.12|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.13|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.14|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.15|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.16|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.17|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.18|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.19|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.20|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.21|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.22|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.23|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.24|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.25|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.26|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.27|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.28|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.29|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.30|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.4|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.5|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.6|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.7|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.8|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.20.9|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.3.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.4.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.5.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.5.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.5.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.6.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.6.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.6.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.7.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v6.8.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support 7.x-dev|don't install laravel/framework v5.7.28
        - don't install illuminate/support 8.x-dev|don't install laravel/framework v5.7.28
        - don't install illuminate/support 9.x-dev|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.4|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.5|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.6|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.7|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.0.8|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.1.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.1.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.1.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.1.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.10.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.10.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.10.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.10.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.11.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.12.0|don't 
        - don't install illuminate/support v7.5.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.5.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.5.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.6.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.6.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.6.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.7.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.7.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.8.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.8.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.9.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.9.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v7.9.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.0.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.0.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.0.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.0.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.0.4|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.1.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.10.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.11.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.11.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.11.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.12.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.12.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.12.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.12.3|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.13.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.14.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.15.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.16.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.16.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.17.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.17.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.18.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.18.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.19.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.2.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.20.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.20.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.21.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.22.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.22.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.23.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.24.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.25.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.26.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.26.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.27.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.28.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.28.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.29.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.3.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.30.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.30.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.31.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.32.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.32.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.33.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.33.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.34.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.35.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.35.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.36.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.36.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.36.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.37.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.38.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.39.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.4.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.40.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.41.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.42.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.42.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.43.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.44.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.45.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.45.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.46.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.47.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.48.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.48.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.48.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.49.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.49.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.49.2|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.5.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.50.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.51.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.6.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.7.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.7.1|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.8.0|don't install laravel/framework v5.7.28
        - don't install illuminate/support v8.9.0|don't install laravel/framework v5.7.28
        - Installation request for laravel/framework (locked at v5.7.28, required as 5.7.*) -> satisfiable by laravel/framework[v5.7.28].

    Installation failed, reverting ./composer.json to its original content.

好的,我现在不想升级laravel或php,因为它是一个实时应用程序,没有那么多时间升级。
我的composer.json文件如下所示

{
        "name": "laravel/laravel",
        "type": "project",
        "description": "The Laravel Framework.",
        "keywords": [
            "framework",
            "laravel"
        ],
        "license": "MIT",
        "require": {
            "php": "^7.1.3",
            "bogardo/mailgun": "^5.2",
            "fideloper/proxy": "^4.0",
            "fruitcake/laravel-cors": "^2.0",
            "guzzlehttp/guzzle": "~6.0",
            "intervention/image": "^2.4",
            "kriswallsmith/buzz": "^1.1",
            "laravel/framework": "5.7.*",
            "laravel/tinker": "^1.0",
            "league/flysystem-aws-s3-v3": "^2.1",
            "nwidart/laravel-modules": "^4.0",
            "nyholm/psr7": "^1.3",
            "predis/predis": "^1.1",
            "stripe/stripe-php": "^7.69",
            "symfony/psr-http-message-bridge": "^1.2",
            "tillkruss/laravel-phpredis": "^1.1"
        },
        "require-dev": {
            "barryvdh/laravel-debugbar": "^3.2",
            "beyondcode/laravel-dump-server": "^1.0",
            "filp/whoops": "^2.0",
            "fzaninotto/faker": "^1.4",
            "mockery/mockery": "^1.0",
            "nunomaduro/collision": "^2.0",
            "phpunit/phpunit": "^7.0"
        },
        "config": {
            "optimize-autoloader": true,
            "preferred-install": "dist",
            "sort-packages": true
        },
        "extra": {
            "laravel": {
                "dont-discover": []
            }
        },
        "autoload": {
            "psr-4": {
                "App\\": "app/",
                "Modules\\": "Modules/"
            },
            "classmap": [
                "database/seeds",
                "database/factories"
            ]
        },
        "autoload-dev": {
            "psr-4": {
                "Tests\\": "tests/"
            }
        },
        "minimum-stability": "dev",
        "prefer-stable": true,
        "scripts": {
            "post-autoload-dump": [
                "Illuminate\\Foundation\\ComposerScripts::postAutoloadDump",
                "@php artisan package:discover --ansi"
            ],
            "post-root-package-install": [
                "@php -r \"file_exists('.env') || copy('.env.example', '.env');\""
            ],
            "post-create-project-cmd": [
                "@php artisan key:generate --ansi"
            ]
        }
    }
eqoofvh9

eqoofvh91#

composer 正在告诉你们哪里错了。它需要php8,而您提供php7.4,因此它不需要安装。
从评论中还可以看出,laravel 9正在开发中。当你在这个问题上举步维艰时,我不建议你使用那个版本,然后返回一个版本,使用8。
我建议做的(以及我最近在一个更大的网站上做的)是首先运行 composer update . 通过这种方式,您可以使用sem-ver方法更新所有包(因此只需少量更新)。将其部署到服务器。
比你能用的还多 compser outdated 查看您可以更新的内容。做 composer update package/name -W (具有所有依赖项),一次只需一个。如果你遇到了一个问题,就去解决下一个问题,有时候回来后你仍然可以解决。
如果你去packagist.org,你可以检查你的软件包,看看当前的版本是什么。有时候你可以升几个市长,有时候一个,有时候只是个小市长。这有点让人困惑。

相关问题