Unable to install Laravel/passport

Help for integrating the Laravel package
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
veeran ambalam
Posts: 19
Joined: 06 Mar 2021, 14:51

Unable to install Laravel/passport

Post by veeran ambalam » 05 Apr 2021, 13:20

Iam a newbie, I get the below error when I do composer require laravel/passport, How do i resolve this.

Problem 1
- laravel/passport[v10.1.0, ..., 10.x-dev] require illuminate/auth ^8.2 -> found illuminate/auth[v8.2.0, ..., 8.x-dev] but these were not loaded, likely because it conflicts with another require.
- Root composer.json requires laravel/passport ^10.1 -> satisfiable by laravel/passport[v10.1.0, v10.1.1, v10.1.2, 10.x-dev].


Using
"php": "^7.2||^8.0",
"laravel/framework": "^6.20.12",
"aimeos/aimeos-laravel": "~2020.10"
Attachments
screenshot
screenshot
Capture.PNG (36.76 KiB) Viewed 4390 times

veeran ambalam
Posts: 19
Joined: 06 Mar 2021, 14:51

Re: Unable to install Laravel/passport

Post by veeran ambalam » 06 Apr 2021, 07:18

I found the solution and I used the suitable passport version and resolved it.
I used "laravel/passport": "9.4.0",

Post Reply