services.php 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. <?php
  2. return [
  3. /*
  4. |--------------------------------------------------------------------------
  5. | Third Party Services
  6. |--------------------------------------------------------------------------
  7. |
  8. | This file is for storing the credentials for third party services such
  9. | as Mailgun, Postmark, AWS and more. This file provides the de facto
  10. | location for this type of information, allowing packages to have
  11. | a conventional file to locate the various service credentials.
  12. |
  13. */
  14. 'mailgun' => [
  15. 'domain' => env('MAILGUN_DOMAIN'),
  16. 'secret' => env('MAILGUN_SECRET'),
  17. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  18. 'scheme' => 'https',
  19. ],
  20. 'postmark' => [
  21. 'token' => env('POSTMARK_TOKEN'),
  22. ],
  23. 'ses' => [
  24. 'key' => env('AWS_ACCESS_KEY_ID'),
  25. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  26. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  27. ],
  28. 'discord' => [
  29. 'client_id' => env('DISCORD_CLIENT_ID'),
  30. 'client_secret' => env('DISCORD_CLIENT_SECRET'),
  31. 'redirect' => env('APP_URL', 'http://localhost').'/auth/callback',
  32. // optional
  33. 'allow_gif_avatars' => (bool) env('DISCORD_AVATAR_GIF', true),
  34. 'avatar_default_extension' => env('DISCORD_EXTENSION_DEFAULT', 'jpg'), // only pick from jpg, png, webp
  35. ],
  36. ];