# yungifez/skuul architecture

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

- Interactive diagram: https://gitdiagram.com/yungifez/skuul
- Repository: https://github.com/yungifez/skuul

## Overview

Skuul is a multi-campus school-management application. Its principal workflow is staff and families using the web application to manage school setup, learners, teaching and academic records, then access operational and reporting outcomes. The source tree shows Laravel controllers, Livewire interfaces, domain actions, services and Eloquent models. README capabilities guide the domain branches; several implementation links are necessarily unverified because the relevant source was not excerpted.

Main entry points: [`routes/web.php`](https://github.com/yungifez/skuul/blob/main/routes/web.php) (Web application), [`app/Http/Controllers/InstallationController.php`](https://github.com/yungifez/skuul/blob/main/app/Http/Controllers/InstallationController.php) (Browser installer), [`app/Models/User.php`](https://github.com/yungifez/skuul/blob/main/app/Models/User.php) (Accounts and roles), [`app/Models/School.php`](https://github.com/yungifez/skuul/blob/main/app/Models/School.php) (Campuses)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Web access"]
  node_web["Web application<br/>[web.php]"]
  node_portal["Family portal"]
  node_installation["Browser installer"]
end

subgraph group_school["School foundation"]
  node_identity["Accounts and roles<br/>[User.php]"]
  node_organization["Organizations<br/>[Organization.php]"]
  node_campus["Campuses<br/>[School.php]"]
  node_academic["Academic structure<br/>[AcademicYear.php]"]
  node_calendar["Calendars"]
  node_enrollment["Student enrollment<br/>[StudentRecord.php]"]
  node_placement["Enrollment placement"]
end

subgraph group_learning["Learning operations"]
  node_curriculum["Curriculum and programs"]
  node_attendance["Attendance"]
  node_gradebook["Gradebooks and exams"]
  node_syllabus["Syllabus coverage"]
  node_timetable["Timetables"]
  node_reports["Reports and records"]
end

subgraph group_services["Campus services"]
  node_finance["Fees and finance<br/>[ReceivePayment.php]"]
  node_care["Care and boarding"]
  node_library["Library<br/>[IssueLoan.php]"]
  node_operations["Staff and facilities"]
end

subgraph group_platform["Shared platform"]
  node_audit["Audit events"]
  node_features["Feature management<br/>[FeatureManager.php]"]
end

node_staff(("School staff"))
node_families(("Families and students"))
node_mysql[("MySQL database")]

node_staff -.->|"manage school"| node_web
node_families -.->|"access records"| node_portal
node_web -->|"configure installation"| node_installation
node_web -.->|"sign in"| node_identity
node_staff -.->|"manage organization"| node_organization
node_staff -.->|"manage campus"| node_campus
node_staff -.->|"set up school year"| node_academic
node_staff -.->|"manage calendars"| node_calendar
node_staff -.->|"manage learners"| node_enrollment
node_enrollment -->|"tracks placement"| node_placement
node_staff -.->|"manage programs"| node_curriculum
node_staff -.->|"record attendance"| node_attendance
node_staff -.->|"record results"| node_gradebook
node_staff -.->|"track coverage"| node_syllabus
node_staff -.->|"manage timetables"| node_timetable
node_staff -.->|"publish reports"| node_reports
node_staff -.->|"manage fees"| node_finance
node_families -.->|"access care"| node_care
node_staff -.->|"manage boarding"| node_care
node_staff -.->|"manage library"| node_library
node_staff -.->|"manage operations"| node_operations
node_features -->|"records changes"| node_audit
node_installation -.->|"configures database"| node_mysql
node_identity -.->|"persists accounts"| node_mysql
node_campus -.->|"persists campus data"| node_mysql

click node_web "https://github.com/yungifez/skuul/blob/main/routes/web.php"
click node_portal "https://github.com/yungifez/skuul/blob/main/app/Http/Controllers/PortalOverviewController.php"
click node_installation "https://github.com/yungifez/skuul/blob/main/app/Http/Controllers/InstallationController.php"
click node_identity "https://github.com/yungifez/skuul/blob/main/app/Models/User.php"
click node_organization "https://github.com/yungifez/skuul/blob/main/app/Models/Organization.php"
click node_campus "https://github.com/yungifez/skuul/blob/main/app/Models/School.php"
click node_academic "https://github.com/yungifez/skuul/blob/main/app/Models/AcademicYear.php"
click node_calendar "https://github.com/yungifez/skuul/blob/main/app/Actions/Academic/SaveAcademicCalendar.php"
click node_enrollment "https://github.com/yungifez/skuul/blob/main/app/Models/StudentRecord.php"
click node_placement "https://github.com/yungifez/skuul/blob/main/app/Models/EnrollmentPlacement.php"
click node_curriculum "https://github.com/yungifez/skuul/blob/main/app/Models/AcademicCycleSection.php"
click node_attendance "https://github.com/yungifez/skuul/blob/main/app/Actions/Attendance/RecordAttendance.php"
click node_gradebook "https://github.com/yungifez/skuul/blob/main/app/Livewire/GradebookMarkSheet.php"
click node_syllabus "https://github.com/yungifez/skuul/blob/main/app/Services/Syllabus/SyllabusCoverageService.php"
click node_timetable "https://github.com/yungifez/skuul/blob/main/app/Services/Timetable/TimetableService.php"
click node_reports "https://github.com/yungifez/skuul/blob/main/app/Actions/Report/PublishReportCard.php"
click node_finance "https://github.com/yungifez/skuul/blob/main/app/Actions/Finance/ReceivePayment.php"
click node_care "https://github.com/yungifez/skuul/blob/main/app/Actions/Wellbeing/ManageSupportPlan.php"
click node_library "https://github.com/yungifez/skuul/blob/main/app/Actions/Library/IssueLoan.php"
click node_operations "https://github.com/yungifez/skuul/blob/main/app/Actions/Staff/ManageStaffProfile.php"
click node_audit "https://github.com/yungifez/skuul/blob/main/app/Actions/Audit/RecordAuditEvent.php"
click node_features "https://github.com/yungifez/skuul/blob/main/app/Services/Feature/FeatureManager.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,node_portal,node_installation toneBlue
class node_identity,node_organization,node_campus,node_academic,node_calendar,node_enrollment,node_placement,node_mysql toneAmber
class node_curriculum,node_attendance,node_gradebook,node_syllabus,node_timetable,node_reports toneMint
class node_finance,node_care,node_library,node_operations toneRose
class node_audit,node_features,node_staff,node_families toneIndigo
```

## Components

### Web access

- [Web application](https://github.com/yungifez/skuul/blob/main/routes/web.php): `routes/web.php`
- [Family portal](https://github.com/yungifez/skuul/blob/main/app/Http/Controllers/PortalOverviewController.php): `app/Http/Controllers/PortalOverviewController.php`
- [Browser installer](https://github.com/yungifez/skuul/blob/main/app/Http/Controllers/InstallationController.php): `app/Http/Controllers/InstallationController.php`

### School foundation

- [Accounts and roles](https://github.com/yungifez/skuul/blob/main/app/Models/User.php): `app/Models/User.php`
- [Organizations](https://github.com/yungifez/skuul/blob/main/app/Models/Organization.php): `app/Models/Organization.php`
- [Campuses](https://github.com/yungifez/skuul/blob/main/app/Models/School.php): `app/Models/School.php`
- [Academic structure](https://github.com/yungifez/skuul/blob/main/app/Models/AcademicYear.php): `app/Models/AcademicYear.php`
- [Calendars](https://github.com/yungifez/skuul/blob/main/app/Actions/Academic/SaveAcademicCalendar.php): `app/Actions/Academic/SaveAcademicCalendar.php`
- [Student enrollment](https://github.com/yungifez/skuul/blob/main/app/Models/StudentRecord.php): `app/Models/StudentRecord.php`
- [Enrollment placement](https://github.com/yungifez/skuul/blob/main/app/Models/EnrollmentPlacement.php): `app/Models/EnrollmentPlacement.php`

### Learning operations

- [Curriculum and programs](https://github.com/yungifez/skuul/blob/main/app/Models/AcademicCycleSection.php): `app/Models/AcademicCycleSection.php`
- [Attendance](https://github.com/yungifez/skuul/blob/main/app/Actions/Attendance/RecordAttendance.php): `app/Actions/Attendance/RecordAttendance.php`
- [Gradebooks and exams](https://github.com/yungifez/skuul/blob/main/app/Livewire/GradebookMarkSheet.php): `app/Livewire/GradebookMarkSheet.php`
- [Syllabus coverage](https://github.com/yungifez/skuul/blob/main/app/Services/Syllabus/SyllabusCoverageService.php): `app/Services/Syllabus/SyllabusCoverageService.php`
- [Timetables](https://github.com/yungifez/skuul/blob/main/app/Services/Timetable/TimetableService.php): `app/Services/Timetable/TimetableService.php`
- [Reports and records](https://github.com/yungifez/skuul/blob/main/app/Actions/Report/PublishReportCard.php): `app/Actions/Report/PublishReportCard.php`

### Campus services

- [Fees and finance](https://github.com/yungifez/skuul/blob/main/app/Actions/Finance/ReceivePayment.php): `app/Actions/Finance/ReceivePayment.php`
- [Care and boarding](https://github.com/yungifez/skuul/blob/main/app/Actions/Wellbeing/ManageSupportPlan.php): `app/Actions/Wellbeing/ManageSupportPlan.php`
- [Library](https://github.com/yungifez/skuul/blob/main/app/Actions/Library/IssueLoan.php): `app/Actions/Library/IssueLoan.php`
- [Staff and facilities](https://github.com/yungifez/skuul/blob/main/app/Actions/Staff/ManageStaffProfile.php): `app/Actions/Staff/ManageStaffProfile.php`

### Shared platform

- [Audit events](https://github.com/yungifez/skuul/blob/main/app/Actions/Audit/RecordAuditEvent.php): `app/Actions/Audit/RecordAuditEvent.php`
- [Feature management](https://github.com/yungifez/skuul/blob/main/app/Services/Feature/FeatureManager.php): `app/Services/Feature/FeatureManager.php`

### Other components

- **School staff**
- **Families and students**
- **MySQL database**

## Connections

- School staff → Web application: manage school
- Families and students → Family portal: access records
- Web application → Browser installer: configure installation (evidence: `app/Http/Controllers/InstallationController.php`)
- Web application → Accounts and roles: sign in
- School staff → Organizations: manage organization
- School staff → Campuses: manage campus
- School staff → Academic structure: set up school year (evidence: `README.md`)
- School staff → Calendars: manage calendars (evidence: `README.md`)
- School staff → Student enrollment: manage learners (evidence: `README.md`)
- Student enrollment → Enrollment placement: tracks placement (evidence: `app/Models/StudentRecord.php`)
- School staff → Curriculum and programs: manage programs (evidence: `README.md`)
- School staff → Attendance: record attendance (evidence: `README.md`)
- School staff → Gradebooks and exams: record results (evidence: `README.md`)
- School staff → Syllabus coverage: track coverage (evidence: `app/Services/Syllabus/SyllabusCoverageService.php`)
- School staff → Timetables: manage timetables (evidence: `README.md`)
- School staff → Reports and records: publish reports (evidence: `README.md`)
- School staff → Fees and finance: manage fees (evidence: `README.md`)
- Families and students → Care and boarding: access care (evidence: `README.md`)
- School staff → Care and boarding: manage boarding (evidence: `README.md`)
- School staff → Library: manage library (evidence: `README.md`)
- School staff → Staff and facilities: manage operations (evidence: `README.md`)
- Feature management → Audit events: records changes (evidence: `app/Services/Feature/FeatureManager.php`)
- Browser installer → MySQL database: configures database (evidence: `app/Http/Controllers/InstallationController.php`)
- Accounts and roles → MySQL database: persists accounts (evidence: `app/Models/User.php`)
- Campuses → MySQL database: persists campus data (evidence: `app/Models/School.php`)
