Initial commit - WASL Digital Wallet
This commit is contained in:
97
Backend/config/app.php
Normal file
97
Backend/config/app.php
Normal file
@@ -0,0 +1,97 @@
|
||||
<?php
|
||||
|
||||
return [
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Name
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'name' => env('APP_NAME', 'WASL'),
|
||||
'short_name' => env('APP_SHORT_NAME', 'وَصْل'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Environment
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'env' => env('APP_ENV', 'production'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Debug Mode
|
||||
|--------------------------------------------------------------------------
|
||||
| SECURITY: NEVER enable debug mode in production for a financial system.
|
||||
*/
|
||||
|
||||
'debug' => (bool) env('APP_DEBUG', false),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application URL
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'url' => env('APP_URL', 'http://localhost'),
|
||||
'asset_url' => env('ASSET_URL'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Timezone
|
||||
|--------------------------------------------------------------------------
|
||||
| Syria uses Asia/Damascus (UTC+03:00, no DST since 2022)
|
||||
*/
|
||||
|
||||
'timezone' => 'Asia/Damascus',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Application Locale Configuration
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'locale' => 'ar',
|
||||
'fallback_locale' => 'en',
|
||||
'faker_locale' => 'ar_SY',
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Encryption Key
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'key' => env('APP_KEY'),
|
||||
'cipher' => env('APP_CIPHER', 'aes-256-cbc'),
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| Maintenance Mode Driver
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'maintenance' => [
|
||||
'driver' => env('APP_MAINTENANCE_DRIVER', 'file'),
|
||||
'store' => env('APP_MAINTENANCE_STORE', 'db'),
|
||||
],
|
||||
|
||||
/*
|
||||
|--------------------------------------------------------------------------
|
||||
| WASL-specific config reference
|
||||
|--------------------------------------------------------------------------
|
||||
*/
|
||||
|
||||
'wasl' => [
|
||||
'country_code' => 'SY',
|
||||
'default_currency' => 'SYP',
|
||||
'minor_unit_decimals' => [
|
||||
'SYP' => 2, // 1 SYP = 100 piasters → minor unit
|
||||
'USD' => 2,
|
||||
'EUR' => 2,
|
||||
'AED' => 2,
|
||||
'USDT' => 8, // crypto precision
|
||||
'BTC' => 8,
|
||||
],
|
||||
],
|
||||
];
|
||||
Reference in New Issue
Block a user