New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

vinelab/social-auth

1,311 10
Install
composer require vinelab/social-auth
Latest Version:v3.1.1
PHP:>=5.4
Laravel:4 · 5
License:MIT
Last Updated:Jul 23, 2015
Links: GitHub  ·  Packagist
Maintainer: Vinelab

Build Status

Social Authentication - Laravel

Dependency Status

SensioLabsInsight

Installation

Using composer require the package vinelab/social-auth. Edit app.php and add 'Vinelab\Auth\AuthServiceProvider' to the 'providers' array. It will automatically alias itself as SocialAuth which is a Facade.

Configuration

Publish the configuration file using php artisan vendor:publish

Usage

<?php

// start the authentication process
$provider = 'facebook';

// inital authentication route
SocialAuth::authenticate($provider);

// callback route should do this
$profile = SocialAuth::profile($provider, Input::get());

$profile->provider(); // facebook
$profile->info(); // the facebook profile information

Related Packages

framgia/fauth-php

Authentication User Framgia

215 0
petercoles/laravel-minimalistic-login

A minimalistic login for Laravel projects that don't need a full registration an...

27 1
trandinhvi39/fauth

Authentication User Framgia

7 3
hasinhayder/tyro-login

Complete authentication kit for Laravel 12 & 13 — 10 premium layouts, social OAu...

12,808 251
zefy/laravel-sso

Simple PHP SSO integration for Laravel

3,033 101

Version History

Version Released PHP Laravel License
v3.1.1 >=5.4 * MIT
v3.1.0 >=5.4 * MIT
v3.0.3 >=5.4.0 4.* MIT
3.0.2 >=5.4.0 4.* MIT
3.0.1 >=5.4.0 4.0.x MIT