laravel / passport

Laravel Passport provides OAuth2 server support to Laravel.

Home Page:https://laravel.com/docs/passport

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

is not installed in a newly created project

yottybyte opened this issue · comments

Passport Version

11.8.7

Laravel Version

10.2.2

PHP Version

8.2.4

Database Driver & Version

No response

Description

  1. created a project via laravel new api
  2. cd api
  3. composer require laravel/passport

got this error:
Снимок экрана 2023-05-27 в 12 49 00

Steps To Reproduce

  1. created a project via laravel new api
  2. cd api
  3. composer require laravel/passport

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

commented

I just got the same problem doing a fresh install on a new project. I manually ran sail composer require league/oauth2-server but then it starts to complain about Guzzle 6 not being there.

commented

I used an older version,

 composer require laravel/passport:v11.8.5 -W

That would downgrade "psr/http-message". After that I could install latest version, simply doing composer require laravel/passport. Not sure what this might cause, but my app isn't production ready yet.