29 lines
900 B
PHP
29 lines
900 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
return [
|
|
'ai' => [
|
|
'gemini' => [
|
|
'key' => $_ENV['GEMINI_API_KEY'] ?? '',
|
|
'model' => $_ENV['GEMINI_MODEL'] ?? 'gemini-2.0-flash',
|
|
],
|
|
'openai' => [
|
|
'key' => $_ENV['OPENAI_API_KEY'] ?? '',
|
|
'model' => $_ENV['OPENAI_MODEL'] ?? 'gpt-4o',
|
|
],
|
|
],
|
|
'jofotara' => [
|
|
'base_url' => $_ENV['JOFOTARA_BASE_URL'] ?? 'https://backend.jofotara.gov.jo/core/invoices',
|
|
'env' => $_ENV['JOFOTARA_ENV'] ?? 'production',
|
|
],
|
|
'mail' => [
|
|
'host' => $_ENV['MAIL_HOST'] ?? '',
|
|
'port' => (int)($_ENV['MAIL_PORT'] ?? 587),
|
|
'username' => $_ENV['MAIL_USERNAME'] ?? '',
|
|
'password' => $_ENV['MAIL_PASSWORD'] ?? '',
|
|
'from' => $_ENV['MAIL_FROM'] ?? 'noreply@musadaq.app',
|
|
'from_name' => $_ENV['MAIL_FROM_NAME'] ?? 'مُصادَق',
|
|
],
|
|
];
|