Repo for the search and displace core module including the interface to select files and search and displace operations to run on them. https://searchanddisplace.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

54 lines
2.0 KiB

3 years ago
  1. <?php
  2. return [
  3. 'configs' => [
  4. [
  5. /*
  6. * This package support multiple webhook receiving endpoints. If you only have
  7. * one endpoint receiving webhooks, you can use 'default'.
  8. */
  9. 'name' => 'default',
  10. /*
  11. * We expect that every webhook call will be signed using a secret. This secret
  12. * is used to verify that the payload has not been tampered with.
  13. */
  14. 'signing_secret' => env('WEBHOOK_CLIENT_SECRET'),
  15. /*
  16. * The name of the header containing the signature.
  17. */
  18. 'signature_header_name' => 'Signature',
  19. /*
  20. * This class will verify that the content of the signature header is valid.
  21. *
  22. * It should implement \Spatie\WebhookClient\SignatureValidator\SignatureValidator
  23. */
  24. 'signature_validator' => \Spatie\WebhookClient\SignatureValidator\DefaultSignatureValidator::class,
  25. /*
  26. * This class determines if the webhook call should be stored and processed.
  27. */
  28. 'webhook_profile' => \Spatie\WebhookClient\WebhookProfile\ProcessEverythingWebhookProfile::class,
  29. /*
  30. * This class determines the response on a valid webhook call.
  31. */
  32. 'webhook_response' => \Spatie\WebhookClient\WebhookResponse\DefaultRespondsTo::class,
  33. /*
  34. * The classname of the model to be used to store call. The class should be equal
  35. * or extend Spatie\WebhookClient\Models\WebhookCall.
  36. */
  37. 'webhook_model' => \Spatie\WebhookClient\Models\WebhookCall::class,
  38. /*
  39. * The class name of the job that will process the webhook request.
  40. *
  41. * This should be set to a class that extends \Spatie\WebhookClient\ProcessWebhookJob.
  42. */
  43. 'process_webhook_job' => \App\SearchDisplace\Webhooks\HandleRequest::class,
  44. ],
  45. ],
  46. ];