2017 © Pedro Peláez
 

library lmbr-socialite-driver

Leroy Merlin Brazil driver for Laravel Socialite

image

leroy-merlin-br/lmbr-socialite-driver

Leroy Merlin Brazil driver for Laravel Socialite

  • Tuesday, March 6, 2018
  • by GuilhermeGuitte
  • Repository
  • 14 Watchers
  • 0 Stars
  • 66 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 5 Versions
  • 3 % Grown

The README.md

Leroy Merlin Brazil driver for Laravel Socialite

Latest Version on Packagist, (*1)

Installation

You can install the package via composer:, (*2)

composer require leroy-merlin-br/lmbr-socialite-driver

This service provider must be installed. Skip if you are using Laravel 5.5+, this driver comes with auto discovery for providers., (*3)

// config/app.php
'providers' => [
    ...
    LeroyMerlin\Socialite\ServiceProvider::class,
];

Configuration and Usage

Just follow the Socialite Documentation using leroy-merlin on your config/services.php and driver. For example:, (*4)

// config/services.php
'leroy-merlin' => [
    'client_id' => env('LMBR_CLIENT_ID'),         // Your Leroy Merlin Client ID
    'client_secret' => env('LMBR_CLIENT_SECRET'), // Your Leroy Merlin Client Secret
    'redirect' => 'http://your-callback-url',
],
public function redirectToProvider()
{
    return Socialite::driver('leroy-merlin')->redirect();
}

public function handleProviderCallback()
{
    $user = Socialite::driver('leroy-merlin')->user();

    // $user->getName();
    // $user->getEmail();
}

The Versions

06/03 2018

dev-master

9999999-dev

Leroy Merlin Brazil driver for Laravel Socialite

  Sources   Download

MIT

The Requires

 

by Vitor Bari Buccianti

laravel authentication driver socialite

06/03 2018

1.1.0

1.1.0.0

Leroy Merlin Brazil driver for Laravel Socialite

  Sources   Download

MIT

The Requires

 

by Vitor Bari Buccianti

laravel authentication driver socialite

02/03 2018

dev-adds-profile-avatar

dev-adds-profile-avatar

Leroy Merlin Brazil driver for Laravel Socialite

  Sources   Download

MIT

The Requires

 

by Vitor Bari Buccianti

laravel authentication driver socialite

26/12 2017

1.0.1

1.0.1.0

Leroy Merlin Brazil driver for Laravel Socialite

  Sources   Download

MIT

The Requires

 

by Vitor Bari Buccianti

laravel authentication driver socialite

23/12 2017

1.0.0

1.0.0.0

Leroy Merlin Brazil driver for Laravel Socialite

  Sources   Download

The Requires

 

by Vitor Bari Buccianti