# academico-sis/academico architecture

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

- Interactive diagram: https://gitdiagram.com/academico-sis/academico
- Repository: https://github.com/academico-sis/academico

## Overview

Academico is a Laravel/Filament school-management platform. Its documented workflow is staff managing courses and enrolments, coordinating teaching resources, and reviewing reports and statistics. The tree also shows attendance, results, billing, student accounts, and registration capabilities. The source excerpts establish several model and relation-manager links; other feature links are dashed because their runtime wiring was not sampled. The README describes the product but does not document specific component-to-component calls.

Main entry points: [`app/Filament/Resources/Enrollments/EnrollmentResource.php`](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Enrollments/EnrollmentResource.php) (Enrollment management), [`app/Filament/Resources/Students/StudentResource.php`](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Students/StudentResource.php) (Student records), [`app/Filament/Resources/Courses/CourseResource.php`](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Courses/CourseResource.php) (Course management), [`app/Models/Attendance.php`](https://github.com/academico-sis/academico/blob/main/app/Models/Attendance.php) (Attendance tracking)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_operations["School operations"]
  node_admin["Admin workspace"]
  node_courses["Course management<br/>[CourseResource.php]"]
  node_students["Student records"]
  node_enrollments["Enrollment management"]
  node_periods["Academic periods<br/>[Period.php]"]
  node_student_account["Student account<br/>[StudentAccount.php]"]
  node_registration["Registration wizard"]
end

subgraph group_learning["Teaching and learning"]
  node_course_model["Course domain<br/>[Course.php]"]
  node_teacher_model["Teacher domain<br/>[Teacher.php]"]
  node_attendance["Attendance tracking<br/>[Attendance.php]"]
  node_results["Grades and results<br/>[Result.php]"]
  node_skills["Skill evaluation"]
end

subgraph group_finance["Billing and payments"]
  node_invoices["Invoice management"]
  node_payments["Payment management"]
  node_invoicing["Invoice service<br/>[InvoiceService.php]"]
end

subgraph group_insight["Reports and communication"]
  node_report_pages["Reports and dashboards<br/>[ReportPage.php]"]
  node_report_service["Report calculations<br/>[ReportService.php]"]
  node_cached_report[("Cached reports<br/>[CachedReport.php]")]
  node_notifications["Mail notifications"]
end

node_staff(("School staff"))
node_db[("Application database")]

node_staff -.->|"uses"| node_admin
node_admin -.->|"manages"| node_courses
node_admin -.->|"manages"| node_enrollments
node_admin -.->|"manages"| node_students
node_admin -.->|"views"| node_report_pages
node_students -->|"lists"| node_enrollments
node_students -->|"starts enrollment"| node_courses
node_enrollments -->|"references"| node_courses
node_course_model -->|"relates attendance"| node_attendance
node_attendance -.-> node_results
node_enrollments -.-> node_invoices
node_invoices -.-> node_payments
node_report_pages -.-> node_report_service
node_report_service -.-> node_cached_report
node_attendance -.-> node_notifications
node_courses -.-> node_course_model
node_students -.->|"persists records"| node_db
node_enrollments -.->|"persists records"| node_db

click node_courses "https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Courses/CourseResource.php"
click node_students "https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Students/StudentResource.php"
click node_enrollments "https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Enrollments/EnrollmentResource.php"
click node_periods "https://github.com/academico-sis/academico/blob/main/app/Models/Period.php"
click node_student_account "https://github.com/academico-sis/academico/blob/main/app/Livewire/StudentAccount.php"
click node_registration "https://github.com/academico-sis/academico/blob/main/app/Livewire/RegistrationWizard.php"
click node_course_model "https://github.com/academico-sis/academico/blob/main/app/Models/Course.php"
click node_teacher_model "https://github.com/academico-sis/academico/blob/main/app/Models/Teacher.php"
click node_attendance "https://github.com/academico-sis/academico/blob/main/app/Models/Attendance.php"
click node_results "https://github.com/academico-sis/academico/blob/main/app/Models/Result.php"
click node_skills "https://github.com/academico-sis/academico/blob/main/app/Models/Skills/SkillEvaluation.php"
click node_invoices "https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Invoices/InvoiceResource.php"
click node_payments "https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Payments/PaymentResource.php"
click node_invoicing "https://github.com/academico-sis/academico/blob/main/app/Services/InvoiceService.php"
click node_report_pages "https://github.com/academico-sis/academico/blob/main/app/Filament/Pages/ReportPage.php"
click node_report_service "https://github.com/academico-sis/academico/blob/main/app/Services/ReportService.php"
click node_cached_report "https://github.com/academico-sis/academico/blob/main/app/Models/CachedReport.php"
click node_notifications "https://github.com/academico-sis/academico/blob/main/app/Listeners/SendAttendanceNotification.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_admin,node_courses,node_students,node_enrollments,node_periods,node_student_account,node_registration toneBlue
class node_course_model,node_teacher_model,node_attendance,node_results,node_skills,node_db toneAmber
class node_invoices,node_payments,node_invoicing toneMint
class node_report_pages,node_report_service,node_cached_report,node_notifications toneRose
class node_staff toneIndigo
```

## Components

### School operations

- **Admin workspace**
- [Course management](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Courses/CourseResource.php): `app/Filament/Resources/Courses/CourseResource.php`
- [Student records](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Students/StudentResource.php): `app/Filament/Resources/Students/StudentResource.php`
- [Enrollment management](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Enrollments/EnrollmentResource.php): `app/Filament/Resources/Enrollments/EnrollmentResource.php`
- [Academic periods](https://github.com/academico-sis/academico/blob/main/app/Models/Period.php): `app/Models/Period.php`
- [Student account](https://github.com/academico-sis/academico/blob/main/app/Livewire/StudentAccount.php): `app/Livewire/StudentAccount.php`
- [Registration wizard](https://github.com/academico-sis/academico/blob/main/app/Livewire/RegistrationWizard.php): `app/Livewire/RegistrationWizard.php`

### Teaching and learning

- [Course domain](https://github.com/academico-sis/academico/blob/main/app/Models/Course.php): `app/Models/Course.php`
- [Teacher domain](https://github.com/academico-sis/academico/blob/main/app/Models/Teacher.php): `app/Models/Teacher.php`
- [Attendance tracking](https://github.com/academico-sis/academico/blob/main/app/Models/Attendance.php): `app/Models/Attendance.php`
- [Grades and results](https://github.com/academico-sis/academico/blob/main/app/Models/Result.php): `app/Models/Result.php`
- [Skill evaluation](https://github.com/academico-sis/academico/blob/main/app/Models/Skills/SkillEvaluation.php): `app/Models/Skills/SkillEvaluation.php`

### Billing and payments

- [Invoice management](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Invoices/InvoiceResource.php): `app/Filament/Resources/Invoices/InvoiceResource.php`
- [Payment management](https://github.com/academico-sis/academico/blob/main/app/Filament/Resources/Payments/PaymentResource.php): `app/Filament/Resources/Payments/PaymentResource.php`
- [Invoice service](https://github.com/academico-sis/academico/blob/main/app/Services/InvoiceService.php): `app/Services/InvoiceService.php`

### Reports and communication

- [Reports and dashboards](https://github.com/academico-sis/academico/blob/main/app/Filament/Pages/ReportPage.php): `app/Filament/Pages/ReportPage.php`
- [Report calculations](https://github.com/academico-sis/academico/blob/main/app/Services/ReportService.php): `app/Services/ReportService.php`
- [Cached reports](https://github.com/academico-sis/academico/blob/main/app/Models/CachedReport.php): `app/Models/CachedReport.php`
- [Mail notifications](https://github.com/academico-sis/academico/blob/main/app/Listeners/SendAttendanceNotification.php): `app/Listeners/SendAttendanceNotification.php`

### Other components

- **School staff**
- **Application database**

## Connections

- School staff → Admin workspace: uses
- Admin workspace → Course management: manages
- Admin workspace → Enrollment management: manages
- Admin workspace → Student records: manages
- Admin workspace → Reports and dashboards: views
- Student records → Enrollment management: lists (evidence: `app/Filament/Resources/Students/RelationManagers/EnrollmentsRelationManager.php`)
- Student records → Course management: starts enrollment
- Enrollment management → Course management: references (evidence: `app/Filament/Resources/Enrollments/EnrollmentResource.php`)
- Course domain → Attendance tracking: relates attendance (evidence: `app/Models/Course.php`)
- Attendance tracking → Grades and results
- Enrollment management → Invoice management
- Invoice management → Payment management
- Reports and dashboards → Report calculations
- Report calculations → Cached reports
- Attendance tracking → Mail notifications
- Course management → Course domain
- Student records → Application database: persists records
- Enrollment management → Application database: persists records
