services.php 1.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  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 Stripe, Mailgun, SparkPost and others. This file provides a sane
  10. | default location for this type of information, allowing packages
  11. | to have a conventional place to find your various credentials.
  12. |
  13. */
  14. 'mailgun' => [
  15. 'domain' => env('MAILGUN_DOMAIN'),
  16. 'secret' => env('MAILGUN_SECRET'),
  17. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  18. ],
  19. 'postmark' => [
  20. 'token' => env('POSTMARK_TOKEN'),
  21. ],
  22. 'ses' => [
  23. 'key' => env('AWS_ACCESS_KEY_ID'),
  24. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  25. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  26. ],
  27. 'sparkpost' => [
  28. 'secret' => env('SPARKPOST_SECRET'),
  29. ],
  30. 'stripe' => [
  31. 'model' => App\User::class,
  32. 'key' => env('STRIPE_KEY'),
  33. 'secret' => env('STRIPE_SECRET'),
  34. 'webhook' => [
  35. 'secret' => env('STRIPE_WEBHOOK_SECRET'),
  36. 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
  37. ],
  38. ],
  39. ];