Files
boursecu_server/config/services.php
T

60 lines
2.1 KiB
PHP
Raw Normal View History

2026-01-24 14:03:11 +00:00
<?php
return [
/*
|--------------------------------------------------------------------------
| Third Party Services
|--------------------------------------------------------------------------
|
| This file is for storing the credentials for third party services such
| as Mailgun, Postmark, AWS and more. This file provides the de facto
| location for this type of information, allowing packages to have
| a conventional file to locate the various service credentials.
|
*/
'mailgun' => [
'domain' => env('MAILGUN_DOMAIN'),
'secret' => env('MAILGUN_SECRET'),
'endpoint' => env('MAILGUN_ENDPOINT', 'api.mailgun.net'),
],
'postmark' => [
'token' => env('POSTMARK_TOKEN'),
],
'ses' => [
'key' => env('AWS_ACCESS_KEY_ID'),
'secret' => env('AWS_SECRET_ACCESS_KEY'),
'region' => env('AWS_DEFAULT_REGION', 'us-east-1'),
],
2026-06-04 17:39:06 +03:30
/*
* API خارجی (get_wallet / order) — مقدار واقعی از settings خوانده می‌شود:
* node_client_id (یا fallback NODE_CLIENT_ID)
* node_shared_secret (یا fallback NODE_SHARED_SECRET)
* ValidateRequests از ConfigService استفاده می‌کند.
*/
2026-06-04 12:18:53 +03:30
'node' => [
'client_id' => env('NODE_CLIENT_ID'),
'secret' => env('NODE_SHARED_SECRET'),
],
2026-08-05 18:34:07 +03:30
/*
| SuperAdmin SMS wallet (source of truth when secret/token is set).
| SUPERADMIN_SMS_BASE_URL is optional preferred host; client also fails over to
| adm.montzar.ir / adm.montech.ir / adm.montest.ir automatically (no .env change needed).
2026-08-05 18:34:07 +03:30
| Example: SUPERADMIN_SMS_BASE_URL=https://adm.montzar.ir/api/remote/sms
*/
'superadmin' => [
'sms_base_url' => env('SUPERADMIN_SMS_BASE_URL'),
'sms_shared_secret' => env('SUPERADMIN_SMS_SHARED_SECRET'),
'sms_domain' => env('SUPERADMIN_SMS_DOMAIN'),
'remote_token' => env('SUPERADMIN_REMOTE_TOKEN'),
/** Origin سوپرادمین برای /api/public/program-settings و /api/remote/program-settings */
'origin' => env('SUPERADMIN_ORIGIN'),
2026-08-05 18:34:07 +03:30
],
2026-01-24 14:03:11 +00:00
];