| Package Data | |
|---|---|
| Maintainer Username: | Vinelab |
| Maintainer Contact: | abed.halawi@vinelab.com (Abed Halawi) |
| Package Create Date: | 2013-07-26 |
| Package Last Update: | 2015-07-23 |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-10-30 03:02:33 |
| Package Statistics | |
|---|---|
| Total Downloads: | 1,310 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 10 |
| Total Watchers: | 2 |
| Total Forks: | 4 |
| Total Open Issues: | 1 |
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.
Publish the configuration file using php artisan vendor:publish
<?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