Razor
Razor

Reputation: 143

Installing Laravel Backpack 4.1 into Laravel 8

I am trying to install Backpack 4.1 into Laravel 8. I ran

composer require backpack/crud:"4.1.*"

But I received the following error.

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].

I have been looking around but have not found a solution yet. Versions: Laravel 8.17, PHP 7.3.24

UPDATE I have tried installing 4.2; please see below.

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).

Upvotes: 0

Views: 810

Answers (1)

user8034901
user8034901

Reputation:

Pending answer removal. It seems Backpack 4.1 now supports Laravel8

Upvotes: 1

Related Questions