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
- Host: GitHub
- URL: https://github.com/luminovrym/laravel-socialite
- Owner: LumiNovryM
- Created: 2023-02-09T17:08:08.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-21T16:22:18.000Z (over 3 years ago)
- Last Synced: 2025-02-21T23:41:38.584Z (over 1 year ago)
- Topics: facebook, github, google, laravel
- Language: PHP
- Homepage:
- Size: 436 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```