Passport: Unsupport Laravel 7.0

Created on 4 Mar 2020  路  7Comments  路  Source: laravel/passport

  • Passport Version: 8.4.0
  • Laravel Version: 7.0.02
  • PHP Version: 7.4.0
  • Database Driver & Version: MySQL 8

Description:

Exception
Unable to resolve PSR request. Please install symfony/psr-http-message-bridge and nyholm/psr7.

All 7 comments

Same issue :(

It seems that the current branch (8.x) has the fix available.

Could we expect a release soon?

To me, this error pops up when using the CheckClientCredentials middleware, I guess it happens because it's creating a new PsrHttpFactory. Just installing nyholm/psr7 solves temporarily the problem because trying to install the other package makes composer throw an incompatibility error.

Released v8.4.1 with the dependency changes. Thanks for reporting.

Can't update to newer version with composer, is it only me?

I had no problem updating yesterday.

Strange, for new project it installs v8.4.1 but when I execute composer show laravel/passport in my existing project it shows versions : * v8.4.0, I even cleared a composer cache and still the same...

EDIT: Ok, I see it now - I'm using a package that has "symfony/psr-http-message-bridge": "^1.1" (Passport has v2.0) in dependencies and that's why newer version of Passport can't be installed :/ It's confusing that composer don't report things like that.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mind-control picture mind-control  路  3Comments

brryfrmnn picture brryfrmnn  路  3Comments

raksrivastava picture raksrivastava  路  3Comments

SwiTool picture SwiTool  路  3Comments

mehrancodes picture mehrancodes  路  3Comments