Download the PHP package payping/oauth2-payping-socialite-client without Composer
On this page you can find all versions of the php package payping/oauth2-payping-socialite-client. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download payping/oauth2-payping-socialite-client
More information about payping/oauth2-payping-socialite-client
Files in payping/oauth2-payping-socialite-client
Package oauth2-payping-socialite-client
Short Description PayPing OAuth2 Provider for Laravel Socialite
License MIT
Informations about the package oauth2-payping-socialite-client
payping-oauth2-socialite-client
1. Installation
2. Service Provider
Remove from your providers[] array in config\app.php if you have added it already. Add to your providers[] array in config\app.php.
For example:
Note: If you would like to use the Socialite Facade, you need to install it.
3. Event Listener
Add SocialiteProviders\Manager\SocialiteWasCalled event to your listen[] array in app/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 'SocialiteProviders\PayPing\PayPingExtendSocialite@handle',. 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. Configuration setup
You will need to add an entry to the services configuration file so that after config files are cached for usage in production environment (Laravel command artisan config:cache) all config is still available. Add to config/services.php.
5. Usage
Laravel docs on configuration You should now be able to use it like you would regularly use Socialite (assuming you have the facade installed):
All versions of oauth2-payping-socialite-client with dependencies
socialiteproviders/manager Version ~2.0 || ~3.0
ext-openssl Version *
ext-json Version *