Laravel/socialite Composer 包 5.6 或 5.7

Laravel/socialite Composer package 5.6 or 5.7

我开始安装 laravel/socialite。我安装了 Laravel 5.6,所以我应该根据 https://laravel.com/docs/5.6/socialite or can I use composer require laravel/socialite based on the https://laravel.com/docs/5.7/socialite 的文档使用 composer require laravel/socialite "^3.2.0"

如果你使用 Laravel 5.6 那么我认为你应该安装 composer require laravel/socialite "^3.2.0" 如果你使用 composer require laravel/socialite 你会得到一个错误,这个命令试图安装 4.0 版本,这在 Laravel 5.6

中不受支持