PHPackages                             morrelinko/laravel5-socialplus - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. morrelinko/laravel5-socialplus

AbandonedArchivedLibrary[Authentication &amp; Authorization](/categories/authentication)

morrelinko/laravel5-socialplus
==============================

127PHP

Since Jul 31Pushed 10y ago1 watchersCompare

[ Source](https://github.com/morrelinko/laravel5-socialplus)[ Packagist](https://packagist.org/packages/morrelinko/laravel5-socialplus)[ RSS](/packages/morrelinko-laravel5-socialplus/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Laravel 5 SocialPlus
--------------------

[](#laravel-5-socialplus)

Installation
------------

[](#installation)

Add this to your `composer.json` file

Append this to your list of service providers in `config/app.php`

```
'Morrelinko\SocialPlus\SocialPlusServiceProvider'

```

Run the command below

```
$ php artisan vendor:publish --provider="Morrelinko\SocialPlus\SocialPlusServiceProvider"

```

Social Providers
----------------

[](#social-providers)

\[TODO - Extract from socialite\]

Add provider configuration in `config/services.php`

```
"facebook": {
    "client_id": "...",
    "client_secret": "..."
}

```

Handlers
--------

[](#handlers)

Handlers are a way SocialPlus delegates performing custom behaviours in your application

during pre-authorization (authorize request) and post-authorization (callback request).

This is where you may implement your login workflow and whatever.

Handlers are registered in `config/socialplus.php` like so

```
