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
54 lines
2.0 KiB
<?php
|
|
|
|
return [
|
|
'configs' => [
|
|
[
|
|
/*
|
|
* This package support multiple webhook receiving endpoints. If you only have
|
|
* one endpoint receiving webhooks, you can use 'default'.
|
|
*/
|
|
'name' => 'default',
|
|
|
|
/*
|
|
* We expect that every webhook call will be signed using a secret. This secret
|
|
* is used to verify that the payload has not been tampered with.
|
|
*/
|
|
'signing_secret' => env('WEBHOOK_CLIENT_SECRET'),
|
|
|
|
/*
|
|
* The name of the header containing the signature.
|
|
*/
|
|
'signature_header_name' => 'Signature',
|
|
|
|
/*
|
|
* This class will verify that the content of the signature header is valid.
|
|
*
|
|
* It should implement \Spatie\WebhookClient\SignatureValidator\SignatureValidator
|
|
*/
|
|
'signature_validator' => \Spatie\WebhookClient\SignatureValidator\DefaultSignatureValidator::class,
|
|
|
|
/*
|
|
* This class determines if the webhook call should be stored and processed.
|
|
*/
|
|
'webhook_profile' => \Spatie\WebhookClient\WebhookProfile\ProcessEverythingWebhookProfile::class,
|
|
|
|
/*
|
|
* This class determines the response on a valid webhook call.
|
|
*/
|
|
'webhook_response' => \Spatie\WebhookClient\WebhookResponse\DefaultRespondsTo::class,
|
|
|
|
/*
|
|
* The classname of the model to be used to store call. The class should be equal
|
|
* or extend Spatie\WebhookClient\Models\WebhookCall.
|
|
*/
|
|
'webhook_model' => \Spatie\WebhookClient\Models\WebhookCall::class,
|
|
|
|
/*
|
|
* The class name of the job that will process the webhook request.
|
|
*
|
|
* This should be set to a class that extends \Spatie\WebhookClient\ProcessWebhookJob.
|
|
*/
|
|
'process_webhook_job' => \App\SearchDisplace\Webhooks\HandleRequest::class,
|
|
],
|
|
],
|
|
];
|