Complete Phase 1: MVC, DB migrations, Auth, RBAC, Security, and Views

This commit is contained in:
Hamza-Ayed
2026-06-05 00:56:41 +03:00
parent 7ffbc8bafa
commit bed7624ae9
51 changed files with 3295 additions and 0 deletions

13
config/ai.php Normal file
View File

@@ -0,0 +1,13 @@
<?php
return [
'gemini' => [
'api_key' => ($_ENV['GEMINI_API_KEY'] === 'null' || !$_ENV['GEMINI_API_KEY']) ? null : $_ENV['GEMINI_API_KEY'],
'model' => 'gemini-flash-lite-latest',
],
'jwt' => [
'secret' => $_ENV['JWT_SECRET'] ?? 'base64:3uFzGf9o8+D+U0mC4/3K1y4m81Qj7G6qTzS=',
'algorithm' => 'HS256',
'expires_in' => 86400 * 30, // 30 days
],
];