Php 作曲家错误。无法将您的需求解析为一组可安装的包

Php 作曲家错误。无法将您的需求解析为一组可安装的包,php,laravel,Php,Laravel,我正在安装软件包,编写器显示此错误 Your requirements could not be resolved to an installable set of packages. Problem 1 - Root composer.json requires gloudemans/shoppingcart ^2.6 -> satisfiable by gloudemans/shoppingcart[2.6.0]. - gloudemans/shoppingcar

我正在安装软件包,编写器显示此错误

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

  Problem 1
    - Root composer.json requires gloudemans/shoppingcart ^2.6 -> satisfiable by gloudemans/shoppingcart[2.6.0].
    - gloudemans/shoppingcart 2.6.0 requires illuminate/support 5.1.* || 5.2.* || 5.3.* || 5.4.* || 5.5.*|| 5.6.* || 5.7.* -> found illuminate/support[v5.1.1, ..., 5.7.x-dev] but these were not loaded, likely because it conflicts with another require.


Installation failed, reverting ./composer.json and ./composer.lock to their original content.

有人有解决办法吗?谢谢

您使用的是什么版本的Laravel?Laravel 7,该软件包是否太过时了?是的,该软件包仅适用于Laravel 5。有一个维护的fork列表,用于更高版本的Laravel@KejviXhelilaj下次,查看源代码并直接检查它是否兼容。您必须查看
require
,我认为如果您看到它的功能,您就足够聪明,能够理解它支持Laravel 5.1到5.7查看文件。。。