How musheabdulhakim/laravel-smarthr works
Laravel SmartHR is a modular HRMS. Users authenticate and work through HR, payroll, collaboration, and business-management capabilities; administrators also manage roles and company settings. The documented domain stages include employee lifecycle, attendance, payroll, estimates/invoices/expenses, and project boards/tasks. The dashboard aggregates workforce and business data. Several module implementations are represented by their exact directories because only selected files were sampled; dashed edges mark workflow links not established by the excerpts.
Main entry points: Project.php Project records · DashboardController.php Dashboard · ProjectController.php Projects · EstimatesController.php Estimates
Components 21
HR foundation
- Authentication
app/Http/Controllers/Auth/AuthController.php - Dashboard
app/Http/Controllers/DashboardController.php - User accounts
app/Models/User.php
People operations
- Employee lifecycle
app/Http/Controllers/Admin/EmployeesController.php - Attendance
app/Livewire/EmployeeAttendance.php - Payroll
app/Http/Controllers/Admin/PayrollsController.php
Work collaboration
- Tickets
app/Http/Controllers/Admin/TicketsController.php - Realtime chat
app/Livewire/Apps/Chat/Box.php - Projects
Modules/Project/app/Http/Controllers/ProjectController.php - Project records
Modules/Project/app/Models/Project.php - Tasks and boards
Modules/Project/app/Models/Task.php - Whiteboard
Modules/Whiteboard/app/Http/Controllers/WhiteboardController.php
Business finance
- Estimates
Modules/Sales/app/Http/Controllers/EstimatesController.php - Estimate records
Modules/Sales/app/Models/Estimate.php - Invoices
Modules/Sales/app/Http/Controllers/InvoicesController.php - Budgets
Modules/Accounting/app/Http/Controllers/BudgetsController.php - Budget records
Modules/Accounting/app/Models/Budget.php - Expenses
Modules/Sales/app/Http/Controllers/ExpensesController.php
Administration
- Role permissions
Modules/Roles/app/Http/Controllers/RolesController.php - Company settings
app/Http/Controllers/Admin/SettingsController.php
Other components
- HRMS users
Connections 26
- HRMS users → Authentication: signs in
- HRMS users → Employee lifecycle: manages staff
- HRMS users → Attendance: records attendance
- HRMS users → Payroll: runs payroll
- HRMS users → Tickets: handles tickets
- HRMS users → Realtime chat: collaborates
- HRMS users → Projects: manages projects
- HRMS users → Whiteboard: uses whiteboard
- HRMS users → Estimates: creates estimates
- HRMS users → Invoices: manages invoices
- HRMS users → Budgets: tracks budgets
- HRMS users → Role permissions: administers access
- HRMS users → Company settings: configures company
- Authentication → User accounts: authenticates
app/Http/Controllers/Auth/AuthController.php - Dashboard → User accounts: reads workforce
app/Http/Controllers/DashboardController.php - Dashboard → Project records: reads projects
app/Http/Controllers/DashboardController.php - Dashboard → Budget records: reads budgets
app/Http/Controllers/DashboardController.php - Projects → Project records: creates projects
Modules/Project/app/Http/Controllers/ProjectController.php - Projects → Tasks and boards: seeds boards
Modules/Project/app/Http/Controllers/ProjectController.php - Project records → Tasks and boards: owns tasks
Modules/Project/app/Models/Project.php - Estimates → Estimate records: creates estimates
Modules/Sales/app/Http/Controllers/EstimatesController.php - Budgets → Budget records: reads and updates
Modules/Accounting/app/Http/Controllers/BudgetsController.php - Budget records → Project records: associates project
Modules/Accounting/app/Models/Budget.php - Estimates → Invoices: converts to
- Employee lifecycle → Payroll: feeds payroll
- Tickets → Realtime chat: supports conversation