将 Laravel Backpack 4.1 安装到 Laravel 8
Installing Laravel Backpack 4.1 into Laravel 8
我正在尝试将 Backpack 4.1 安装到 Laravel 8。我运行
composer require backpack/crud:"4.1.*"
但是我收到以下错误。
Your requirements could not be resolved to an installable set of
packages.
backpack/crud[4.1.22, ..., 4.1.x-dev] require doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ..., 2.12.x-dev] but it conflicts
with your root composer.json require (^3.0).
backpack/crud[4.1.0, ..., 4.1.21] require laravel/framework ^7.0|^6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0,
..., 7.x-dev] but it conflicts with your root composer.json require
(^8.12).
Root composer.json requires backpack/crud 4.1.* -> satisfiable by backpack/crud[4.1.0, ..., 4.1.x-dev].
我一直在四处寻找,但还没有找到解决办法。版本:Laravel 8.17,PHP 7.3.24
更新 我试过安装 4.2;请看下面。
Root composer.json requires backpack/crud 4.2.* -> satisfiable by
backpack/crud[4.2.x-dev]. backpack/crud 4.2.x-dev requires
doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ...,
2.12.x-dev] but it conflicts with your root composer.json require (^3.0).
待删除的答案。
看来 Backpack 4.1 现在支持 Laravel8
我正在尝试将 Backpack 4.1 安装到 Laravel 8。我运行
composer require backpack/crud:"4.1.*"
但是我收到以下错误。
Your requirements could not be resolved to an installable set of packages. backpack/crud[4.1.22, ..., 4.1.x-dev] require doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ..., 2.12.x-dev] but it conflicts with your root composer.json require (^3.0). backpack/crud[4.1.0, ..., 4.1.21] require laravel/framework ^7.0|^6.0 -> found laravel/framework[v6.0.0, ..., 6.x-dev, v7.0.0, ..., 7.x-dev] but it conflicts with your root composer.json require (^8.12). Root composer.json requires backpack/crud 4.1.* -> satisfiable by backpack/crud[4.1.0, ..., 4.1.x-dev].
我一直在四处寻找,但还没有找到解决办法。版本:Laravel 8.17,PHP 7.3.24
更新 我试过安装 4.2;请看下面。
Root composer.json requires backpack/crud 4.2.* -> satisfiable by backpack/crud[4.2.x-dev]. backpack/crud 4.2.x-dev requires doctrine/dbal ^2.5 -> found doctrine/dbal[v2.5.0-BETA2, ..., 2.12.x-dev] but it conflicts with your root composer.json require (^3.0).
待删除的答案。 看来 Backpack 4.1 现在支持 Laravel8