How ezechielitewe18/sirh works
GLOBIT is a PHP/MySQL HR information system. Users enter through the web front controller, which routes authenticated and role-checked requests to controllers; controllers coordinate domain models and render views or produce exports. Its documented core workflow covers employee/service administration, attendance check-in and approval, leave requests and approval, and dashboard reporting. The README also describes payroll, training, and mobile capabilities. Some of these modules are represented from the tree and index references only; unsampled implementation details and links are therefore omitted.
Main entry points: Router.php Request router · EmployeeModel.php Employee records · DashboardController.php Dashboard · Model.php Model base
Components 30
Web entry
- Request router
core/Router.php - Authentication
controllers/AuthController.php - Dashboard
controllers/DashboardController.php - PHP views
views - Mobile capability
mobile.php
People administration
- Employees
controllers/EmployeeController.php - Employee records
models/EmployeeModel.php - Services
controllers/ServiceController.php - Service records
models/ServiceModel.php - User administration
controllers/UtilisateurController.php - User records
models/UserModel.php
HR operations
- Attendance
controllers/PresenceController.php - Attendance records
models/PresenceModel.php - Leave workflow
controllers/CongeController.php - Leave records
models/CongeModel.php - Payroll
controllers/PaieController.php - Payroll records
models/PaieModel.php - Training
controllers/FormationController.php - Training records
models/FormationModel.php - Reports and exports
controllers/RapportController.php - Data exports
controllers/ExportController.php - Messages
controllers/MessageController.php - Message records
models/MessageModel.php - Notifications
controllers/NotificationController.php - Notification records
models/NotificationModel.php - Activity log
models/LogModel.php
Data layer
- Model base
core/Model.php - PDO connection
core/Database.php
Other components
- HR user
- MySQL database
Connections 48
- HR user → Request router: sends requests
- Request router → Authentication: routes auth
index.php - Request router → Dashboard: routes dashboard
index.php - Request router → Employees: routes employee actions
index.php - Request router → Services: routes service actions
index.php - Request router → User administration: routes user actions
index.php - Request router → Attendance: routes attendance
index.php - Request router → Leave workflow: routes leave
index.php - Request router → Payroll: routes payroll
index.php - Request router → Training: routes training
index.php - Request router → Reports and exports: routes reports
index.php - Request router → Data exports: routes exports
index.php - Request router → Messages: routes messages
index.php - Request router → Notifications: routes notifications
index.php - Employees → Employee records: manages records
controllers/EmployeeController.php - Employees → Service records: uses services
controllers/EmployeeController.php - Services → Service records: manages records
- User administration → User records: manages records
controllers/UtilisateurController.php - Attendance → Attendance records: records attendance
controllers/PresenceController.php - Attendance → Employee records: looks up employees
controllers/PresenceController.php - Leave workflow → Leave records: manages requests
controllers/CongeController.php - Leave workflow → Employee records: looks up employees
controllers/CongeController.php - Leave workflow → Notification records: notifies reviewers
controllers/CongeController.php - Dashboard → Employee records: reads metrics
controllers/DashboardController.php - Dashboard → Attendance records: reads metrics
controllers/DashboardController.php - Dashboard → Leave records: reads metrics
controllers/DashboardController.php - Dashboard → Payroll records: reads metrics
controllers/DashboardController.php - Dashboard → Training records: reads metrics
controllers/DashboardController.php - Data exports → Employee records: exports records
controllers/ExportController.php - Data exports → Attendance records: exports records
controllers/ExportController.php - Data exports → Leave records: exports records
controllers/ExportController.php - Data exports → Payroll records: exports records
controllers/ExportController.php - Messages → Message records: manages conversations
controllers/MessageController.php - Messages → Notification records: publishes alerts
controllers/MessageController.php - Messages → Activity log: records activity
controllers/MessageController.php - Authentication → User records: checks accounts
controllers/AuthController.php - Authentication → Employee records: looks up employee
controllers/AuthController.php - Authentication → Activity log: records activity
controllers/AuthController.php - Employees → PHP views: renders employee pages
controllers/EmployeeController.php - Leave workflow → PHP views: renders leave pages
controllers/CongeController.php - Attendance → PHP views: renders attendance
controllers/PresenceController.php - Messages → PHP views: renders message pages
controllers/MessageController.php - Model base → PDO connection: gets connection
core/Model.php - Employee records → Model base: extends
models/EmployeeModel.php - Service records → Model base: extends
models/ServiceModel.php - Attendance records → Model base: extends
models/PresenceModel.php - Leave records → Model base: extends
models/CongeModel.php - Notification records → Model base: extends
models/NotificationModel.php