Nessuna descrizione

services.php 1.5KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. 'google' => [
  15. 'client_id' => env('GOOGLE_CLIENT_ID'),
  16. 'client_secret' => env('GOOGLE_CLIENT_SECRET'),
  17. 'redirect' => env('GOOGLE_REDIRECT', '/')
  18. ],
  19. 'mailgun' => [
  20. 'domain' => env('MAILGUN_DOMAIN'),
  21. 'secret' => env('MAILGUN_SECRET'),
  22. 'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
  23. ],
  24. 'postmark' => [
  25. 'token' => env('POSTMARK_TOKEN'),
  26. ],
  27. 'ses' => [
  28. 'key' => env('AWS_ACCESS_KEY_ID'),
  29. 'secret' => env('AWS_SECRET_ACCESS_KEY'),
  30. 'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
  31. ],
  32. 'sparkpost' => [
  33. 'secret' => env('SPARKPOST_SECRET'),
  34. ],
  35. 'stripe' => [
  36. 'model' => App\User::class,
  37. 'key' => env('STRIPE_KEY'),
  38. 'secret' => env('STRIPE_SECRET'),
  39. 'webhook' => [
  40. 'secret' => env('STRIPE_WEBHOOK_SECRET'),
  41. 'tolerance' => env('STRIPE_WEBHOOK_TOLERANCE', 300),
  42. ],
  43. ],
  44. ];