An open API service indexing awesome lists of open source software.

https://github.com/luminovrym/laravel-socialite

Laravel Login With Third Party
https://github.com/luminovrym/laravel-socialite

facebook github google laravel

Last synced: 3 months ago
JSON representation

Laravel Login With Third Party

Awesome Lists containing this project

README

          

## Laravel Socialite (Social Login) - Login with google, facebook and github

## Clone this repo
```
https://github.com/samironbarai/laravel-socialite.git
```

## Install composer packages
```
$ cd laravel-socialite
$ composer install
```

## Create and setup .env file
```
make a copy of .env.example and rename to .env
$ copy .env.example .env
$ php artisan key:generate
put database credentials in .env file
```

## Create app for google, facebook and github
```
For google app
https://console.developers.google.com/
For facebook app
https://developers.facebook.com/apps/
For gitgub app
https://github.com/settings/developers

Put all ids and secrets in .env file
```

## Migrate and insert records
```
$ php artisan migrate
```