# thisgleammm/stmi-lms architecture

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

- Interactive diagram: https://gitdiagram.com/thisgleammm/stmi-lms
- Repository: https://github.com/thisgleammm/stmi-lms

## Overview

STMI LMS supports student and lecturer sign-in and learning management, with documented attendance, assignments and grades, and course materials. The principal user flow is an HTTP request through Laravel’s web routing to a controller and its page; controllers can read or update application models and return views. The tree and sampled source support the login, profile, lecture and student-management paths, but do not expose the implementation or wiring of attendance, assignments, grades or course-material workflows, so those capabilities are shown without inferred controller links.

Main entry points: [`routes/web.php`](https://github.com/thisgleammm/stmi-lms/blob/main/routes/web.php) (Web routes), [`app/Models/User.php`](https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/User.php) (User records), [`app/Http/Controllers/Auth/AuthenticatedSessionController.php`](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php) (Login controller), [`app/Http/Controllers/ProfileController.php`](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/ProfileController.php) (Profile controller)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_platform["Web platform"]
  node_entry["HTTP entry<br/>[index.php]"]
  node_bootstrap["Laravel bootstrap<br/>[app.php]"]
  node_web_routes["Web routes<br/>[web.php]"]
  node_db_config["Database configuration<br/>[database.php]"]
  node_database[("Application database")]
end

subgraph group_identity["Identity and profiles"]
  node_login_controller["Login controller"]
  node_login_request["Login request<br/>[LoginRequest.php]"]
  node_verify_controller["Email verification"]
  node_profile_controller["Profile controller"]
  node_profile_view["Profile pages<br/>[profile.blade.php]"]
  node_user_model["User records<br/>[User.php]"]
  node_student_model["Student records<br/>[Student.php]"]
end

subgraph group_learning["Learning activities"]
  node_dashboard_controller["Dashboard controller"]
  node_dashboard_view["Dashboard pages"]
  node_course_controller["Course controller"]
  node_course_model["Course records<br/>[courseModel.php]"]
  node_course_views["Course pages<br/>[mycourse.blade.php]"]
  node_lecture_view["Lecture materials"]
  node_task_view["Tasks and grades<br/>[mytask.blade.php]"]
  node_attendance_view["Attendance calendar<br/>[calendar.blade.php]"]
  node_attempt_view["Exam attempt<br/>[attempt.blade.php]"]
  node_enrollment_model["Enrollments<br/>[Enrollment.php]"]
end

subgraph group_management["User management"]
  node_lecturer_controller["Lecturer management"]
  node_lecturer_view["Lecturer data page"]
  node_student_controller["Student management"]
  node_student_view["Student data page"]
end

node_user(("Student or lecturer"))

node_user -->|"sends request"| node_entry
node_entry -->|"handles request"| node_bootstrap
node_bootstrap -->|"loads routes"| node_web_routes
node_web_routes -->|"dispatches"| node_login_controller
node_web_routes -->|"dispatches"| node_profile_controller
node_web_routes -->|"dispatches"| node_verify_controller
node_web_routes -->|"dispatches"| node_dashboard_controller
node_web_routes -->|"dispatches"| node_course_controller
node_web_routes -->|"dispatches"| node_lecturer_controller
node_web_routes -->|"dispatches"| node_student_controller
node_login_controller -->|"authenticates via"| node_login_request
node_login_controller -->|"authenticates user"| node_user_model
node_login_controller -->|"redirects after login"| node_user
node_verify_controller -->|"marks verified"| node_user_model
node_profile_controller -->|"reads profile"| node_user_model
node_profile_controller -->|"reads student data"| node_student_model
node_profile_controller -->|"returns view"| node_profile_view
node_dashboard_controller -->|"returns view"| node_dashboard_view
node_course_controller -->|"course operations"| node_course_model
node_lecturer_controller -->|"manages lecturer users"| node_user_model
node_lecturer_controller -->|"returns view"| node_lecturer_view
node_student_controller -->|"manages student users"| node_user_model
node_student_controller -->|"returns view"| node_student_view
node_user_model -->|"persists records"| node_database
node_student_model -->|"persists records"| node_database
node_course_model -->|"persists records"| node_database
node_enrollment_model -->|"persists records"| node_database

click node_entry "https://github.com/thisgleammm/stmi-lms/blob/main/public/index.php"
click node_bootstrap "https://github.com/thisgleammm/stmi-lms/blob/main/bootstrap/app.php"
click node_web_routes "https://github.com/thisgleammm/stmi-lms/blob/main/routes/web.php"
click node_db_config "https://github.com/thisgleammm/stmi-lms/blob/main/config/database.php"
click node_login_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php"
click node_login_request "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Requests/Auth/LoginRequest.php"
click node_verify_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php"
click node_profile_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/ProfileController.php"
click node_profile_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/profile.blade.php"
click node_user_model "https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/User.php"
click node_student_model "https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/Student.php"
click node_dashboard_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/dashboardController.php"
click node_dashboard_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/dashboard.blade.php"
click node_course_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/coursesController.php"
click node_course_model "https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/courseModel.php"
click node_course_views "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/mycourse.blade.php"
click node_lecture_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/coursefile.blade.php"
click node_task_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/mytask.blade.php"
click node_attendance_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/calendar.blade.php"
click node_attempt_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/attempt.blade.php"
click node_enrollment_model "https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/Enrollment.php"
click node_lecturer_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/lectureController.php"
click node_lecturer_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/lecturedata.blade.php"
click node_student_controller "https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/mahasiswaController.php"
click node_student_view "https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/studentdata.blade.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_entry,node_bootstrap,node_web_routes,node_db_config,node_database toneBlue
class node_login_controller,node_login_request,node_verify_controller,node_profile_controller,node_profile_view,node_user_model,node_student_model toneAmber
class node_dashboard_controller,node_dashboard_view,node_course_controller,node_course_model,node_course_views,node_lecture_view,node_task_view,node_attendance_view,node_attempt_view,node_enrollment_model toneMint
class node_lecturer_controller,node_lecturer_view,node_student_controller,node_student_view toneRose
class node_user toneIndigo
```

## Components

### Web platform

- [HTTP entry](https://github.com/thisgleammm/stmi-lms/blob/main/public/index.php): `public/index.php`
- [Laravel bootstrap](https://github.com/thisgleammm/stmi-lms/blob/main/bootstrap/app.php): `bootstrap/app.php`
- [Web routes](https://github.com/thisgleammm/stmi-lms/blob/main/routes/web.php): `routes/web.php`
- [Database configuration](https://github.com/thisgleammm/stmi-lms/blob/main/config/database.php): `config/database.php`
- **Application database**

### Identity and profiles

- [Login controller](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/Auth/AuthenticatedSessionController.php): `app/Http/Controllers/Auth/AuthenticatedSessionController.php`
- [Login request](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Requests/Auth/LoginRequest.php): `app/Http/Requests/Auth/LoginRequest.php`
- [Email verification](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/Auth/VerifyEmailController.php): `app/Http/Controllers/Auth/VerifyEmailController.php`
- [Profile controller](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/ProfileController.php): `app/Http/Controllers/ProfileController.php`
- [Profile pages](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/profile.blade.php): `resources/views/profile.blade.php`
- [User records](https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/User.php): `app/Models/User.php`
- [Student records](https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/Student.php): `app/Models/Student.php`

### Learning activities

- [Dashboard controller](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/dashboardController.php): `app/Http/Controllers/dashboardController.php`
- [Dashboard pages](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/dashboard.blade.php): `resources/views/dashboard.blade.php`
- [Course controller](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/coursesController.php): `app/Http/Controllers/coursesController.php`
- [Course records](https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/courseModel.php): `app/Models/courseModel.php`
- [Course pages](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/mycourse.blade.php): `resources/views/mycourse.blade.php`
- [Lecture materials](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/coursefile.blade.php): `resources/views/coursefile.blade.php`
- [Tasks and grades](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/mytask.blade.php): `resources/views/mytask.blade.php`
- [Attendance calendar](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/calendar.blade.php): `resources/views/calendar.blade.php`
- [Exam attempt](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/attempt.blade.php): `resources/views/attempt.blade.php`
- [Enrollments](https://github.com/thisgleammm/stmi-lms/blob/main/app/Models/Enrollment.php): `app/Models/Enrollment.php`

### User management

- [Lecturer management](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/lectureController.php): `app/Http/Controllers/lectureController.php`
- [Lecturer data page](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/lecturedata.blade.php): `resources/views/lecturedata.blade.php`
- [Student management](https://github.com/thisgleammm/stmi-lms/blob/main/app/Http/Controllers/mahasiswaController.php): `app/Http/Controllers/mahasiswaController.php`
- [Student data page](https://github.com/thisgleammm/stmi-lms/blob/main/resources/views/studentdata.blade.php): `resources/views/studentdata.blade.php`

### Other components

- **Student or lecturer**

## Connections

- Student or lecturer → HTTP entry: sends request
- HTTP entry → Laravel bootstrap: handles request
- Laravel bootstrap → Web routes: loads routes
- Web routes → Login controller: dispatches
- Web routes → Profile controller: dispatches
- Web routes → Email verification: dispatches
- Web routes → Dashboard controller: dispatches
- Web routes → Course controller: dispatches
- Web routes → Lecturer management: dispatches
- Web routes → Student management: dispatches
- Login controller → Login request: authenticates via
- Login controller → User records: authenticates user
- Login controller → Student or lecturer: redirects after login
- Email verification → User records: marks verified
- Profile controller → User records: reads profile
- Profile controller → Student records: reads student data
- Profile controller → Profile pages: returns view
- Dashboard controller → Dashboard pages: returns view
- Course controller → Course records: course operations
- Lecturer management → User records: manages lecturer users
- Lecturer management → Lecturer data page: returns view
- Student management → User records: manages student users
- Student management → Student data page: returns view
- User records → Application database: persists records
- Student records → Application database: persists records
- Course records → Application database: persists records
- Enrollments → Application database: persists records
