first commit

This commit is contained in:
exercict
2026-07-14 08:10:11 +04:00
commit fdfb0dd62e
60 changed files with 9930 additions and 0 deletions
+8
View File
@@ -0,0 +1,8 @@
<?php
return [
'name' => $_ENV['APP_NAME'] ?? 'CRM',
'env' => $_ENV['APP_ENV'] ?? 'production',
'debug' => filter_var($_ENV['APP_DEBUG'] ?? false, FILTER_VALIDATE_BOOLEAN),
'url' => $_ENV['APP_URL'] ?? 'http://localhost',
];
+10
View File
@@ -0,0 +1,10 @@
<?php
return [
'host' => $_ENV['DB_HOST'] ?? '127.0.0.1',
'port' => (int)($_ENV['DB_PORT'] ?? 3306),
'database' => $_ENV['DB_DATABASE'] ?? '',
'username' => $_ENV['DB_USERNAME'] ?? '',
'password' => $_ENV['DB_PASSWORD'] ?? '',
'charset' => 'utf8mb4',
];
+7
View File
@@ -0,0 +1,7 @@
<?php
return [
'sheet_id' => $_ENV['GOOGLE_SHEET_ID'] ?? '',
'sheet_name' => $_ENV['GOOGLE_SHEET_NAME'] ?? '',
'credentials_path' => $_ENV['GOOGLE_CREDENTIALS_PATH'] ?? '',
];
+9
View File
@@ -0,0 +1,9 @@
<?php
return [
'host' => $_ENV['LDAP_HOST'] ?? '127.0.0.1',
'port' => (int)($_ENV['LDAP_PORT'] ?? 389),
'base_dn' => $_ENV['LDAP_BASE_DN'] ?? '',
'domain' => $_ENV['LDAP_DOMAIN'] ?? '',
'admin_group_name' => $_ENV['LDAP_ADMIN_GROUP_NAME'] ?? 'ИТ-Отдел',
];