webpush.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. <?php
  2. return [
  3. /**
  4. * These are the keys for authentication (VAPID).
  5. * These keys must be safely stored and should not change.
  6. */
  7. 'vapid' => [
  8. 'subject' => env('VAPID_SUBJECT'),
  9. 'public_key' => env('VAPID_PUBLIC_KEY'),
  10. 'private_key' => env('VAPID_PRIVATE_KEY'),
  11. 'pem_file' => env('VAPID_PEM_FILE'),
  12. ],
  13. /**
  14. * This is model that will be used to for push subscriptions.
  15. */
  16. 'model' => \NotificationChannels\WebPush\PushSubscription::class,
  17. /**
  18. * This is the name of the table that will be created by the migration and
  19. * used by the PushSubscription model shipped with this package.
  20. */
  21. 'table_name' => env('WEBPUSH_DB_TABLE', 'push_subscriptions'),
  22. /**
  23. * This is the database connection that will be used by the migration and
  24. * the PushSubscription model shipped with this package.
  25. */
  26. 'database_connection' => env('WEBPUSH_DB_CONNECTION', env('DB_CONNECTION', 'mysql')),
  27. /**
  28. * The Guzzle client options used by Minishlink\WebPush.
  29. */
  30. 'client_options' => [],
  31. /**
  32. * Google Cloud Messaging.
  33. *
  34. * @deprecated
  35. */
  36. 'gcm' => [
  37. 'key' => env('GCM_KEY'),
  38. 'sender_id' => env('GCM_SENDER_ID'),
  39. ],
  40. ];