# butznic/oc_ict_helpdesk architecture

> Architecture diagram of the GitHub repository butznic/oc_ict_helpdesk, generated by GitDiagram from its file tree, README and a sample of source files (last updated 2026-11-28). It is an AI-made overview: check details against the source.

- Interactive diagram: https://gitdiagram.com/butznic/oc_ict_helpdesk
- Repository: https://github.com/butznic/oc_ict_helpdesk

## Overview

This is a Laravel campus ICT helpdesk: users sign in, submit tickets or equipment requests, and ICT staff handle tickets while administrators manage users, offices, requests, and reporting. Routes dispatch to controllers; domain models hold ticket, activity, office, user, and equipment-request state. The README is the stock Laravel introduction rather than product documentation, so capabilities are inferred from the repository tree and the supplied source index and excerpts; unsampled subsystem details and links are omitted where not evidenced.

Main entry points: [`routes/web.php`](https://github.com/butznic/oc_ict_helpdesk/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/TicketController.php`](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/TicketController.php) (Ticket intake and comments), [`app/Http/Controllers/Admin/TicketAdminController.php`](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/TicketAdminController.php) (Ticket administration), [`app/Models/User.php`](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/User.php) (User and presence)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and navigation"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_google_auth["Google sign-in"]
  node_login["Login"]
  node_dashboards["Role dashboards"]
end

subgraph group_tickets["Ticket operations"]
  node_ticket_intake["Ticket intake and comments"]
  node_staff_queue["Staff ticket queue"]
  node_equipment_intake["Equipment requests"]
  node_notifications["Notifications"]
end

subgraph group_admin["Administration"]
  node_ticket_admin["Ticket administration"]
  node_reports["Reports and exports"]
  node_user_admin["User administration<br/>[UserController.php]"]
  node_office_admin["Office administration"]
  node_equipment_review["Equipment review"]
end

subgraph group_domain["Domain state"]
  node_ticket_model[("Ticket records<br/>[Ticket.php]")]
  node_activity_model[("Ticket activity<br/>[TicketActivity.php]")]
  node_user_model[("User and presence<br/>[User.php]")]
  node_office_model[("Office records<br/>[Office.php]")]
  node_equipment_model[("Equipment request records")]
end

node_users(("Requesters and staff"))

node_users -->|"requests pages"| node_web_routes
node_web_routes -->|"routes auth"| node_google_auth
node_web_routes -->|"routes login"| node_login
node_web_routes -->|"routes dashboard"| node_dashboards
node_web_routes -->|"routes tickets"| node_ticket_intake
node_web_routes -->|"routes staff queue"| node_staff_queue
node_web_routes -->|"routes ticket admin"| node_ticket_admin
node_web_routes -->|"routes reports"| node_reports
node_web_routes -->|"routes users"| node_user_admin
node_web_routes -->|"routes offices"| node_office_admin
node_web_routes -->|"routes requests"| node_equipment_intake
node_web_routes -->|"routes review"| node_equipment_review
node_google_auth -->|"finds and updates"| node_user_model
node_google_auth -->|"loads offices"| node_office_model
node_ticket_intake -->|"creates and updates"| node_ticket_model
node_ticket_intake -->|"records activity"| node_activity_model
node_ticket_intake -->|"selects recipients"| node_user_model
node_ticket_intake -->|"loads offices"| node_office_model
node_ticket_intake -->|"dispatches notices"| node_notifications
node_staff_queue -->|"queries and claims"| node_ticket_model
node_staff_queue -->|"records assignment"| node_activity_model
node_staff_queue -->|"loads staff"| node_user_model
node_staff_queue -->|"notifies requester"| node_notifications
node_ticket_admin -->|"manages tickets"| node_ticket_model
node_ticket_admin -->|"records changes"| node_activity_model
node_ticket_admin -->|"loads users"| node_user_model
node_ticket_admin -->|"loads offices"| node_office_model
node_ticket_admin -->|"sends updates"| node_notifications
node_reports -->|"queries report data"| node_ticket_model
node_reports -->|"queries personnel"| node_user_model
node_reports -->|"loads office filters"| node_office_model
node_user_admin -->|"manages users"| node_user_model
node_user_admin -->|"uses offices"| node_office_model
node_office_admin -->|"manages offices"| node_office_model
node_office_admin -->|"checks tickets"| node_ticket_model
node_equipment_intake -->|"creates requests"| node_equipment_model
node_equipment_intake -->|"uses offices"| node_office_model
node_equipment_intake -->|"notifies administrators"| node_user_model
node_equipment_intake -->|"dispatches request notice"| node_notifications
node_equipment_review -->|"reviews requests"| node_equipment_model
node_equipment_review -->|"sends decision"| node_notifications

click node_web_routes "https://github.com/butznic/oc_ict_helpdesk/blob/main/routes/web.php"
click node_google_auth "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Auth/GoogleController.php"
click node_login "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Auth/LoginController.php"
click node_dashboards "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/DashboardController.php"
click node_ticket_intake "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/TicketController.php"
click node_staff_queue "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Staff/QueueController.php"
click node_ticket_admin "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/TicketAdminController.php"
click node_reports "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/ReportController.php"
click node_user_admin "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/UserController.php"
click node_office_admin "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/OfficeController.php"
click node_equipment_intake "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/EquipmentRequestController.php"
click node_equipment_review "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/EquipmentController.php"
click node_notifications "https://github.com/butznic/oc_ict_helpdesk/tree/main/app/Notifications"
click node_ticket_model "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/Ticket.php"
click node_activity_model "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/TicketActivity.php"
click node_user_model "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/User.php"
click node_office_model "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/Office.php"
click node_equipment_model "https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/EquipmentRequest.php"

classDef toneNeutral fill:#f8fafc,stroke:#334155,stroke-width:1.5px,color:#0f172a
classDef toneBlue fill:#dbeafe,stroke:#2563eb,stroke-width:1.5px,color:#172554
classDef toneAmber fill:#fef3c7,stroke:#d97706,stroke-width:1.5px,color:#78350f
classDef toneMint fill:#dcfce7,stroke:#16a34a,stroke-width:1.5px,color:#14532d
classDef toneRose fill:#ffe4e6,stroke:#e11d48,stroke-width:1.5px,color:#881337
classDef toneIndigo fill:#e0e7ff,stroke:#4f46e5,stroke-width:1.5px,color:#312e81
classDef toneTeal fill:#ccfbf1,stroke:#0f766e,stroke-width:1.5px,color:#134e4a
class node_web_routes,node_google_auth,node_login,node_dashboards toneBlue
class node_ticket_intake,node_staff_queue,node_equipment_intake,node_notifications toneAmber
class node_ticket_admin,node_reports,node_user_admin,node_office_admin,node_equipment_review,node_users toneMint
class node_ticket_model,node_activity_model,node_user_model,node_office_model,node_equipment_model toneRose
```

## Components

### Access and navigation

- [Web routes](https://github.com/butznic/oc_ict_helpdesk/blob/main/routes/web.php): `routes/web.php`
- [Google sign-in](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Auth/GoogleController.php): `app/Http/Controllers/Auth/GoogleController.php`
- [Login](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Auth/LoginController.php): `app/Http/Controllers/Auth/LoginController.php`
- [Role dashboards](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/DashboardController.php): `app/Http/Controllers/DashboardController.php`

### Ticket operations

- [Ticket intake and comments](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/TicketController.php): `app/Http/Controllers/TicketController.php`
- [Staff ticket queue](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Staff/QueueController.php): `app/Http/Controllers/Staff/QueueController.php`
- [Equipment requests](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/EquipmentRequestController.php): `app/Http/Controllers/EquipmentRequestController.php`
- [Notifications](https://github.com/butznic/oc_ict_helpdesk/tree/main/app/Notifications): `app/Notifications`

### Administration

- [Ticket administration](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/TicketAdminController.php): `app/Http/Controllers/Admin/TicketAdminController.php`
- [Reports and exports](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/ReportController.php): `app/Http/Controllers/Admin/ReportController.php`
- [User administration](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/UserController.php): `app/Http/Controllers/Admin/UserController.php`
- [Office administration](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/OfficeController.php): `app/Http/Controllers/Admin/OfficeController.php`
- [Equipment review](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Http/Controllers/Admin/EquipmentController.php): `app/Http/Controllers/Admin/EquipmentController.php`

### Domain state

- [Ticket records](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/Ticket.php): `app/Models/Ticket.php`
- [Ticket activity](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/TicketActivity.php): `app/Models/TicketActivity.php`
- [User and presence](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/User.php): `app/Models/User.php`
- [Office records](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/Office.php): `app/Models/Office.php`
- [Equipment request records](https://github.com/butznic/oc_ict_helpdesk/blob/main/app/Models/EquipmentRequest.php): `app/Models/EquipmentRequest.php`

### Other components

- **Requesters and staff**

## Connections

- Requesters and staff → Web routes: requests pages (evidence: `routes/web.php`)
- Web routes → Google sign-in: routes auth (evidence: `routes/web.php`)
- Web routes → Login: routes login (evidence: `routes/web.php`)
- Web routes → Role dashboards: routes dashboard (evidence: `routes/web.php`)
- Web routes → Ticket intake and comments: routes tickets (evidence: `routes/web.php`)
- Web routes → Staff ticket queue: routes staff queue (evidence: `routes/web.php`)
- Web routes → Ticket administration: routes ticket admin (evidence: `routes/web.php`)
- Web routes → Reports and exports: routes reports (evidence: `routes/web.php`)
- Web routes → User administration: routes users (evidence: `routes/web.php`)
- Web routes → Office administration: routes offices (evidence: `routes/web.php`)
- Web routes → Equipment requests: routes requests (evidence: `routes/web.php`)
- Web routes → Equipment review: routes review (evidence: `routes/web.php`)
- Google sign-in → User and presence: finds and updates (evidence: `app/Http/Controllers/Auth/GoogleController.php`)
- Google sign-in → Office records: loads offices (evidence: `app/Http/Controllers/Auth/GoogleController.php`)
- Ticket intake and comments → Ticket records: creates and updates (evidence: `app/Http/Controllers/TicketController.php`)
- Ticket intake and comments → Ticket activity: records activity (evidence: `app/Http/Controllers/TicketController.php`)
- Ticket intake and comments → User and presence: selects recipients (evidence: `app/Http/Controllers/TicketController.php`)
- Ticket intake and comments → Office records: loads offices (evidence: `app/Http/Controllers/TicketController.php`)
- Ticket intake and comments → Notifications: dispatches notices (evidence: `app/Http/Controllers/TicketController.php`)
- Staff ticket queue → Ticket records: queries and claims (evidence: `app/Http/Controllers/Staff/QueueController.php`)
- Staff ticket queue → Ticket activity: records assignment (evidence: `app/Http/Controllers/Staff/QueueController.php`)
- Staff ticket queue → User and presence: loads staff (evidence: `app/Http/Controllers/Staff/QueueController.php`)
- Staff ticket queue → Notifications: notifies requester (evidence: `app/Http/Controllers/Staff/QueueController.php`)
- Ticket administration → Ticket records: manages tickets (evidence: `app/Http/Controllers/Admin/TicketAdminController.php`)
- Ticket administration → Ticket activity: records changes (evidence: `app/Http/Controllers/Admin/TicketAdminController.php`)
- Ticket administration → User and presence: loads users (evidence: `app/Http/Controllers/Admin/TicketAdminController.php`)
- Ticket administration → Office records: loads offices (evidence: `app/Http/Controllers/Admin/TicketAdminController.php`)
- Ticket administration → Notifications: sends updates (evidence: `app/Http/Controllers/Admin/TicketAdminController.php`)
- Reports and exports → Ticket records: queries report data (evidence: `app/Http/Controllers/Admin/ReportController.php`)
- Reports and exports → User and presence: queries personnel (evidence: `app/Http/Controllers/Admin/ReportController.php`)
- Reports and exports → Office records: loads office filters (evidence: `app/Http/Controllers/Admin/ReportController.php`)
- User administration → User and presence: manages users (evidence: `app/Http/Controllers/Admin/UserController.php`)
- User administration → Office records: uses offices (evidence: `app/Http/Controllers/Admin/UserController.php`)
- Office administration → Office records: manages offices (evidence: `app/Http/Controllers/Admin/OfficeController.php`)
- Office administration → Ticket records: checks tickets (evidence: `app/Http/Controllers/Admin/OfficeController.php`)
- Equipment requests → Equipment request records: creates requests (evidence: `app/Http/Controllers/EquipmentRequestController.php`)
- Equipment requests → Office records: uses offices (evidence: `app/Http/Controllers/EquipmentRequestController.php`)
- Equipment requests → User and presence: notifies administrators (evidence: `app/Http/Controllers/EquipmentRequestController.php`)
- Equipment requests → Notifications: dispatches request notice (evidence: `app/Http/Controllers/EquipmentRequestController.php`)
- Equipment review → Equipment request records: reviews requests (evidence: `app/Http/Controllers/Admin/EquipmentController.php`)
- Equipment review → Notifications: sends decision (evidence: `app/Http/Controllers/Admin/EquipmentController.php`)
