How krtzmrgrth/lets-g-hris works
HRIS Demo is a PHP employee-management portal. Employees sign in, are routed to a role-appropriate dashboard, and can view their profile or submit leave and attendance requests; administrators and managers review workforce data and requests, while administrators also manage payroll. PHP page handlers use shared session, domain, and JSON helpers in includes/config.php. The README documents JSON-backed storage and the core employee capabilities. Some storage mappings and unsampled dashboard behavior are not shown, so those links are omitted or marked unverified.
Main entry points: config.php Session and domain helpers · index.php Sign-in · dashboard.php Employee dashboard · leave_application.php Leave requests
Components 15
Access and profiles
- Sign-in
index.php - Employee profile
employee_details.php - Logout
logout.php
Employee services
- Employee dashboard
dashboard.php - Leave requests
leave_application.php - Sick leave entry
sick_leave_application.php - Attendance requests
attendance_request.php
Workforce operations
- Manager dashboard
manager_dashboard.php - Admin overview
admin_dashboard.php - Employee administration
admin_employee_dashboard.php - Payroll management
admin_payroll_dashboard.php
Shared data
- Session and domain helpers
includes/config.php - JSON data files
data
Other components
- Employee
- HR admin
Connections 22
- Employee → Sign-in: signs in
README.md - HR admin → Sign-in: signs in
README.md - Sign-in → Session and domain helpers: checks credentials
index.php - Sign-in → Admin overview: routes admin
index.php - Sign-in → Manager dashboard: routes manager
index.php - Sign-in → Employee dashboard: routes employee
index.php - Employee dashboard → Session and domain helpers: loads domain data
dashboard.php - Employee profile → Session and domain helpers: reads and updates
employee_details.php - Leave requests → Session and domain helpers: submits requests
leave_application.php - Sick leave entry → Leave requests: redirects to
sick_leave_application.php - Attendance requests → Session and domain helpers: adds requests
attendance_request.php - Manager dashboard → Session and domain helpers: reviews requests
manager_dashboard.php - Admin overview → Session and domain helpers: manages workforce
admin_dashboard.php - Employee administration → Session and domain helpers: manages employees
admin_employee_dashboard.php - Payroll management → Session and domain helpers: loads payroll data
admin_payroll_dashboard.php - Session and domain helpers → JSON data files: reads and writes
- Employee → Employee dashboard: views overview
- Employee → Employee profile: views profile
README.md - Employee → Leave requests: applies for leave
README.md - Employee → Sick leave entry: starts sick leave
README.md - Employee → Attendance requests: requests attendance
- Employee → Logout: logs out