2017 © Pedro Peláez
 

library sociallogin

Simple plugin to allow for login and registration from various social platforms

image

kylemass/sociallogin

Simple plugin to allow for login and registration from various social platforms

  • Tuesday, May 17, 2016
  • by KyleMassacre
  • Repository
  • 1 Watchers
  • 0 Stars
  • 5 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Laravel Social Login

This is a basic plugin to handle your social login and registration requests., (*1)

To install, download through composer, (*2)

$ composer require kylemass/sociallogin, (*3)

Or by adding:, (*4)

{
    "require": {
        "kylemass/sociallogin": "~1.0"
    }
}

Once you have added the package, add the Service Provider to your list of service providers:, (*5)

'providers' => [
    ...
    KyleMass\SocialLogin\SocialLoginServiceProvider::class,
],

Next you have to publish the package:, (*6)

$ php artisan vendor:publish --provider="KyleMass\SocialLogin\SocialLoginServiceProvider", (*7)

The package comes with a migration file, so last but not least run:, (*8)

$ php artisan migrate, (*9)

That is it, your routes will automatically be generated which look like:, (*10)

Route::get('auth/social/{provider}', 'KyleMass\SocialLogin\SocialLoginController@redirectToProvider');
Route::get('auth/{provider}/callback', 'KyleMass\SocialLogin\SocialLoginController@handleProviderCallback');

All you will have to do is create the links the social providers you wish to use for example:, (*11)

<a href="{{ url('auth/social/github') }}">Login with Github</a>

And for your callback URL will be http://www.yourdomain.tld/auth/github/callback, (*12)

This package requires laravel/socailite so you can find the documentation on how to set that up at the Laravel website., (*13)

The Versions

17/05 2016

dev-master

9999999-dev https://github.com/KyleMassacre/laravel-social-login

Simple plugin to allow for login and registration from various social platforms

  Sources   Download

MIT

The Requires

 

laravel socialite identicon social login kylemass

01/01 2016

1.0.0

1.0.0.0

Simple plugin to allow for login and registration from various social platforms

  Sources   Download

MIT

The Requires