composer unable to install laravel/passport

后端 未结 7 1422
南方客
南方客 2020-12-20 13:32

I have created a new project with

laravel new blogposts

using \"Laravel Installer 2.0.1\" globally installed on my ubuntu 18.

Wh

7条回答
  •  醉梦人生
    2020-12-20 14:17

    Same issue with Laravel 5.5.40 or higher. So you need to specify the version of the passport like this;

    composer require paragonie/random_compat:2.*
    composer require laravel/passport=~4.0
    

提交回复
热议问题