SMS service

This commit is contained in:
Simon Pocrnjič
2025-10-24 21:39:10 +02:00
parent 3a2eed7dda
commit 930ac83604
52 changed files with 3830 additions and 36 deletions
+17
View File
@@ -35,4 +35,21 @@
],
],
'sms' => [
'providers' => [
'smsapi_si' => [
// Base URL for SMS API provider
'base_url' => env('SMSAPI_SI_BASE_URL', 'https://www.smsapi.si'),
// Relative endpoint for sending SMS messages
'send_endpoint' => env('SMSAPI_SI_SEND_ENDPOINT', '/poslji-sms'),
// Endpoint for checking credit balance
'credits_endpoint' => env('SMSAPI_SI_CREDITS_ENDPOINT', '/preveri-stanje-kreditov'),
// Endpoint for fetching price quotes
'price_endpoint' => env('SMSAPI_SI_PRICE_ENDPOINT', '/dobi-ceno'),
// HTTP client timeout in seconds
'timeout' => (int) env('SMSAPI_SI_TIMEOUT', 10),
],
],
],
];