composer require encore-laravel-admin

Created At: 2024-09-17 07:59:01 Updated At: 2024-09-17 07:59:49

Since the last tutorial published on Laravel-admin, Laravel-admin has a lot of update. Some of our learners are facing this issue when you try to install Laravel-admin.

Let's check the below issue when you try to install this 

I have laravel 11.23.5 and php 8.2.12 but when i tried to run this "composer require encore/laravel-admin:1.*" I get some errors "Your requirements could not be resolved to an installable set of packages. Problem 1 - encore/laravel-admin v1.1.6 requires laravel/framework 5.1.* -> found laravel/framework[v5.1.0, ..., v5.1.46] but it conflicts with your root composer.json require (^11.9). - encore/laravel-admin[v1.2.6, ..., v1.2.10] require laravel/framework 5.2.* -> found laravel/framework[v5.2.0, ..., v5.2.45] but it conflicts with your root composer.json require (^11.9). - encore/laravel-admin[v1.3.3, ..., v1.3.4] require laravel/framework 5.3.* -> found laravel/framework[v5.3.0, ..., v5.3.31] but it conflicts with your root composer.json require (^11.9). - encore/laravel-admin[v1.4.1, ..., v1.4.6] require laravel/framework 5.4.* -> found laravel/framework[v5.4.0, ..., v5.4.36] but it conflicts with your root composer.json require (^11.9). - encore/laravel-admin[v1.5.5, ..., v1.7.6] require laravel/framework ~5.5 -> found laravel/framework[v5.5.0, ..., v5.8.38] but it conflicts with your root composer.json require (^11.9)." After making research it says it doesn't support laravel 11.

Solution

composer require encore/laravel-admin:dev-master -W" instead of "composer require encore/laravel-admin:1.*

Comment

  • r
    ra2886380@gmail.com

    2024-10-08 06:15:30

    thanks for guides us

    Author response:

    You are welcome

Add Reviews