Package Data | |
---|---|
Maintainer Username: | filippo.toso |
Maintainer Contact: | filippo.toso@creativepark.it (Filippo Toso) |
Package Create Date: | 2017-08-21 |
Package Last Update: | 2017-08-21 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2025-02-06 15:02:27 |
Package Statistics | |
---|---|
Total Downloads: | 14 |
Monthly Downloads: | 0 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
Use your MailUp account with Laravel Socialite.
Use Composer to install it:
composer require filippo-toso/mailup-socialite
For example:
'providers' => [
// a whole bunch of providers
// remove 'Laravel\Socialite\SocialiteServiceProvider',
\SocialiteProviders\Manager\ServiceProvider::class, // add
];
Note: If you would like to use the Socialite Facade, you need to install it.
For example:
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
// other values above
MAILUP_KEY=yourkeyfortheservice
MAILUP_SECRET=yoursecretfortheservice
MAILUP_REDIRECT_URI=https://example.com/login
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
'mailup' => [
'client_id' => env('MAILUP_KEY'),
'client_secret' => env('MAILUP_SECRET'),
'redirect' => env('MAILUP_REDIRECT_URI'),
],