First commit

This commit is contained in:
2026-01-13 20:46:44 -06:00
commit d63e4e823a
241 changed files with 59142 additions and 0 deletions

50
config/whatsapp.php Normal file
View File

@@ -0,0 +1,50 @@
<?php
return [
/**
* The whatsapp token to be used.
*/
'token' => env('WHATSAPP_TOKEN'),
/**
* The whatsapp's app secret code. Required for webhook request signature verification.
*/
'secret' => env('WHATSAPP_SECRET'),
/**
* The default NUMBER ID used to send the messages.
*/
'default_number_id' => env('WHATSAPP_NUMBER_ID'),
/**
* If you want to use other number id's you can add them here so you can call
* `numberName` with the name you provide here and make it easier to change
* the phone where the messages are sended.
*/
'numbers' => [
// 'fallback' => env('WHATSAPP_FALLBACK_NUMBER_ID'),
],
'webhook' => [
/**
* Wether to enable the webhook routes
*/
'enabled' => env('WHATSAPP_WEBHOOK_ENABLED', true),
/**
* The webhook path, by default "/whatsapp/webhook"
*/
'path' => env('WHATSAPP_WEBHOOK_PATH', 'whatsapp'),
/**
* The webhook verification token.
* For more information check https://developers.facebook.com/docs/graph-api/webhooks/getting-started#verification-requests
*/
'verify_token' => env('WHATSAPP_WEBHOOK_VERIFY_TOKEN'),
/**
* Wether the webhook request signature should be verified or not.
*/
'verify_signature' => env('WHATSAPP_WEBHOOK_SIGNATURE_VERIFY', false),
],
];