https://github.com/catlabinteractive/laravel-catlab-accounts
https://github.com/catlabinteractive/laravel-catlab-accounts
Last synced: 9 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/catlabinteractive/laravel-catlab-accounts
- Owner: CatLabInteractive
- Created: 2019-10-17T20:49:43.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-03-29T10:11:03.000Z (over 4 years ago)
- Last Synced: 2025-09-27T00:57:09.610Z (9 months ago)
- Language: PHP
- Size: 15.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
Laravel library to use catlab-accounts
======================================
Installation
------------
- Add to your app config providers:
```
\CatLab\Accounts\Client\CatLabAccountsServiceProvider::class,
\SocialiteProviders\Manager\ServiceProvider::class,
```
- Add to aliases:
```
'Socialite' => Laravel\Socialite\Facades\Socialite::class,
```
- Add to your (web)routes:
```
\CatLab\Accounts\Client\Controllers\LoginController::setRoutes();
```
- Add to EventServiceProvider
```
/**
* The event listener mappings for the application.
*
* @var array
*/
protected $listen = [
\SocialiteProviders\Manager\SocialiteWasCalled::class => [
CatLabExtendSocialite::class
],
];
```