Initial commit

This commit is contained in:
2026-01-07 14:09:59 +08:00
commit 8a00aa71d5
939 changed files with 40616 additions and 0 deletions

22
src/config/config.php Normal file
View File

@@ -0,0 +1,22 @@
<?php
declare(strict_types=1);
return [
'app' => [
'name' => getenv('APP_NAME') ?: 'QR Attendance System',
'timezone' => getenv('APP_TZ') ?: 'Asia/Manila',
'base_url' => rtrim(getenv('APP_BASE_URL') ?: '', '/'),
],
'db' => [
'host' => getenv('DB_HOST') ?: '127.0.0.1',
'port' => getenv('DB_PORT') ?: '3306',
'name' => getenv('DB_NAME') ?: 'attendance_system',
'user' => getenv('DB_USER') ?: 'root',
'pass' => getenv('DB_PASS') ?: '',
'charset' => 'utf8mb4',
],
'qr' => [
'provider' => strtolower(getenv('QR_PROVIDER') ?: 'auto'),
'goqr_size' => getenv('QR_SIZE') ?: '300x300',
],
];