简体   繁体   中英

Laravel Socialite using Laravel 5.1

I am currently working on a project which uses:

* Laravel 5.1
* hipsterjazzbo/LaraParse version 0.1.6 (https://github.com/hipsterjazzbo/LaraParse)

The problem is I want to use Socialite ( https://github.com/laravel/socialite ) to add google authentication. But when I run

composer require laravel/socialite

It says that I need at least Laravel 5.6 to use it. But I cannot update laravel because laraparse requires laravel 5.1.

What is my best option here?

Even though from the doc

LaraParse provides a nice integration for using Parse (parse.com) with Laravel 5+.

This means it's ok to use LaraParse with 5.6. So you can update your laravel project.

However, according to this issue , it does not support 5.3 and above.

So if you have to use Socialite . You need to use a different library for Parse

You can try this: Laravel-Parse

Or try to use a lower version of socialite

composer require laravel/socialite ^2.0

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM