Download the PHP package jhaoda/socialite-mailru without Composer
On this page you can find all versions of the php package jhaoda/socialite-mailru. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download jhaoda/socialite-mailru
More information about jhaoda/socialite-mailru
Files in jhaoda/socialite-mailru
Download jhaoda/socialite-mailru
More information about jhaoda/socialite-mailru
Files in jhaoda/socialite-mailru
Vendor jhaoda
Package socialite-mailru
Short Description Mail.ru OAuth2 Provider for Laravel Socialite
License MIT
Package socialite-mailru
Short Description Mail.ru OAuth2 Provider for Laravel Socialite
License MIT
Please rate this library. Is it a good library?
Informations about the package socialite-mailru
MailRu OAuth2 Provider for Laravel Socialite
1. Installation
composer require jhaoda/socialite-mailru
2. Service Provider
- Remove
Laravel\Socialite\SocialiteServiceProvider
from yourproviders[]
array inconfig\app.php
if you have added it already. - Add
SocialiteProviders\Manager\ServiceProvider
to yourproviders[]
array inconfig\app.php
.
For example:
- Note: If you would like to use the Socialite Facade, you need to install it.
3. Add the Event and Listeners
-
Add
SocialiteProviders\Manager\SocialiteWasCalled::class
event to yourlisten[]
array in<app_name>/Providers/EventServiceProvider
. -
Add your listeners (i.e. the ones from the providers) to the
SocialiteProviders\Manager\SocialiteWasCalled[]
that you just created. -
The listener that you add for this provider is
JhaoDa\SocialiteProviders\MailRu\MailRuExtendSocialite::class
. - Note: You do not need to add anything for the built-in socialite providers unless you override them with your own providers.
For example:
4. Services Array and .env
Add to config/services.php
:
Append provider values to your .env
file:
All versions of socialite-mailru with dependencies
PHP Build Version
Package Version
The package jhaoda/socialite-mailru contains the following files
Loading the files please wait ....