Files
Jobhero_back/config/whatsapp.php
CarlosTorres 46469deaa8 Upgrade: Laravel 11, consolidación modelos App\Models\
- Actualización a Laravel 11.47.0
- Migración de modelos a namespace App\Models\
- Actualización de todos los controladores
- Actualización de configuraciones
- Documentación README.md

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-17 22:07:34 +00:00

51 lines
1.4 KiB
PHP
Executable File

<?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),
],
];