Download the PHP package filippo-toso/mailup-socialite without Composer
On this page you can find all versions of the php package filippo-toso/mailup-socialite. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download filippo-toso/mailup-socialite
More information about filippo-toso/mailup-socialite
Files in filippo-toso/mailup-socialite
Package mailup-socialite
Short Description MailUp OAuth2 Provider for Laravel Socialite
License MIT
Informations about the package mailup-socialite
MailUp Socialite Provider
Use your MailUp account with Laravel Socialite.
Requirements
- PHP 5.6+
- socialiteproviders/manager 2.0+
Installing
Use Composer to install it:
Using It
- Remove Laravel\Socialite\SocialiteServiceProvider from your providers[] array in config\app.php if you have added it already.
- Add \SocialiteProviders\Manager\ServiceProvider::class 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.
Add the Event and Listeners
- Add SocialiteProviders\Manager\SocialiteWasCalled event to your listen[] array in
/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\MailUp\MailUpExtendSocialite@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:
Environment Variables
If you add environment values to your .env as exactly shown below, you do not need to add an entry to the services array. Append provider values to your .env file
Add to config/services.php.
You do not need to add this if you add the values to the .env exactly as shown above. The values below are provided as a convenience in the case that a developer is not able to use the .env method