How talipanfranklawrenzeulogbcp-droid/ct48 works
Great Solomon CT4 is a PHP/MySQL workforce governance application. Users sign in with a password and emailed OTP, then use role-gated modules to manage health and safety, compliance documents, assets, feedback, tasks, and administration; dashboards and reports provide oversight. The tree and README establish the product branches, while excerpts show selected service calls and persistence behavior. Some routes and services were not sampled, so their internal connections are omitted rather than inferred.
Main entry points: dashboard.php Dashboard · db.php MySQL Connection · login.php Password Login · HealthSafetyService.php Health Service
Components 29
Identity & Runtime
- Password Login
auth/login.php - OTP Verification
auth/verify_otp.php - Session & Access
includes/auth.php
Operational Modules
- Health & Safety
modules/health_safety/index.php - Health Record Entry
modules/health_safety/add_health_record.php - Legal Compliance
modules/legal_compliance/index.php - Employee Documents
modules/legal_compliance/manage_employee_documents.php - Asset Issuance
modules/asset_equipment/index.php - Feedback Cases
modules/feedback/index.php - Data Storage
data_storage.php
Oversight & Workflow
- Dashboard
dashboard.php - Admin Security
modules/system_admin_security/index.php - Tasks & Approvals
tasks.php - Archive Recovery
archive.php - AI Assistant API
services/api/gemini.php
Service Layer
- Service API Gateway
services/api/index.php - Asset Service
services/AssetEquipmentService.php - Health Service
services/HealthSafetyService.php - Legal Service
services/LegalComplianceService.php - Admin Service
AdminSecurityService.php - Feedback Service
services/FeedbackService.php - Reports Service
services/ReportsService.php - Notification Service
NotificationService.php - Storage Service
DataStorageService.php
Persistence & Integrations
- Gmail Mailer
includes/mailer.php - MySQL Connection
includes/db.php - CT4 Database
Other components
- Staff / Admin
- Gemini API
Connections 22
- Staff / Admin → Password Login: signs in
README.md - Password Login → OTP Verification: starts verification
README.md - Password Login → Gmail Mailer: sends OTP
auth/login.php - OTP Verification → Session & Access: establishes session
README.md - Staff / Admin → Dashboard: opens workspace
README.md - Health & Safety → Health Service: uses service
modules/health_safety/index.php - Health Record Entry → Health Service: uses service
modules/health_safety/add_health_record.php - Legal Compliance → Legal Service: uses service
modules/legal_compliance/index.php - Employee Documents → Legal Service: uses service
modules/legal_compliance/manage_employee_documents.php - Asset Issuance → Asset Service: dispatches actions
modules/asset_equipment/index.php - Admin Security → Admin Service: dispatches actions
modules/system_admin_security/index.php - Feedback Cases → Feedback Service: uses service
- Dashboard → Reports Service: loads reports
- Dashboard → Health Service: tracks records
README.md - Dashboard → Legal Service: tracks obligations
README.md - Tasks & Approvals → MySQL Connection: stores tasks
tasks.php - Archive Recovery → MySQL Connection: recovers records
README.md - Data Storage → Storage Service: saves files
data_storage.php - Storage Service → MySQL Connection: queries database
- MySQL Connection → CT4 Database: connects
README.md - AI Assistant API → Gemini API: sends context
README.md - Service API Gateway → AI Assistant API: routes requests
services/api/index.php