# thifaaldz/isoc-2026 architecture

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

- Interactive diagram: https://gitdiagram.com/thifaaldz/isoc-2026
- Repository: https://github.com/thifaaldz/isoc-2026

## Overview

Sena is a role-based program management and learning system for seminars, webinars, tutor training, and participant LMS workflows. Its main path runs from public event discovery and registration through central approval and event delivery, then participant learning and evidence checks to certificate eligibility and PDF output. Filament panels provide role-specific operations; Eloquent models hold the event, learning, identity, and outcome domains. Workflow links rely on README documentation where source was not sampled; source-index references support the model and controller links shown.

Main entry points: [`src/app/Models/LearningEvent.php`](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningEvent.php) (Learning event), [`src/app/Services/CertificateEligibilityService.php`](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/CertificateEligibilityService.php) (Certificate eligibility), [`src/app/Http/Controllers/ParticipantRegistrationController.php`](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/ParticipantRegistrationController.php) (Event registration), [`src/app/Models/LearningMeeting.php`](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningMeeting.php) (Learning meetings)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_public["Public access"]
  node_public_site["Public pages"]
  node_registration["Event registration"]
  node_enrollment["Event enrollment"]
end

subgraph group_operations["Event operations"]
  node_school["School and location<br/>[School.php]"]
  node_event_admin["Event administration"]
  node_event["Learning event<br/>[LearningEvent.php]"]
  node_attendance["Attendance workflows"]
end

subgraph group_learning["Learning delivery"]
  node_module_template["Module templates<br/>[ModuleTemplate.php]"]
  node_meeting["Learning meetings"]
  node_material["Learning materials"]
  node_assessment["Assessments<br/>[Assessment.php]"]
  node_attempt["Assessment attempts"]
  node_tot["Tutor assessments<br/>[TotAssessment.php]"]
end

subgraph group_outcomes["Evidence and credentials"]
  node_evidence["Evidence records<br/>[Evidence.php]"]
  node_eligibility["Certificate eligibility"]
  node_certificate["Certificates<br/>[Certificate.php]"]
  node_certificate_pdf["Certificate PDF"]
  node_template["Certificate templates"]
  node_microsite["Microsite practice"]
end

subgraph group_identity["Identity and roles"]
  node_role_auth["Role access<br/>[User.php]"]
  node_roles["Role definitions<br/>[UserRole.php]"]
  node_participant["Participant profile<br/>[Participant.php]"]
  node_tutor["Tutor profile<br/>[Tutor.php]"]
end

node_visitor(("Public visitor"))
node_participants(("Participants"))
node_tutors(("Tutors"))
node_admins(("RTIK admins"))
node_database[("MariaDB")]

node_visitor -->|"browses events"| node_public_site
node_public_site -->|"lists published"| node_event
node_visitor -->|"registers"| node_registration
node_registration -->|"checks event"| node_event
node_registration -->|"creates profile"| node_participant
node_registration -->|"enrolls participant"| node_enrollment
node_enrollment -->|"enrolls into"| node_event
node_admins -->|"submits and reviews"| node_event_admin
node_event_admin -.->|"manages event"| node_event
node_event -->|"belongs to"| node_school
node_event -->|"associates participants"| node_participant
node_event -->|"assigns tutors"| node_tutor
node_event -->|"has meetings"| node_meeting
node_event -->|"has assessments"| node_assessment
node_event -->|"has evidence"| node_evidence
node_tutors -->|"complete ToT"| node_tot
node_tutors -->|"record attendance"| node_attendance
node_event -->|"uses template"| node_module_template
node_module_template -->|"provides meetings"| node_meeting
node_meeting -->|"has materials"| node_material
node_meeting -->|"has assessments"| node_assessment
node_participants -->|"take tests"| node_assessment
node_assessment -->|"records attempts"| node_attempt
node_participants -->|"submit proof"| node_evidence
node_participants -->|"complete practice"| node_microsite
node_eligibility -->|"checks completion"| node_attempt
node_eligibility -->|"checks proof"| node_evidence
node_eligibility -->|"checks practice"| node_microsite
node_eligibility -->|"determines eligibility"| node_certificate
node_certificate -->|"uses template"| node_template
node_certificate_pdf -->|"previews template"| node_template
node_participants -->|"view or download"| node_certificate
node_role_auth -->|"checks panel role"| node_roles
node_admins -->|"sign in"| node_role_auth
node_tutors -->|"sign in"| node_role_auth
node_participants -->|"sign in"| node_role_auth
node_event -.->|"persists event data"| node_database
node_participant -.->|"persists profile"| node_database

click node_public_site "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/PublicPageController.php"
click node_registration "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/ParticipantRegistrationController.php"
click node_enrollment "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/EventEnrollmentService.php"
click node_role_auth "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/User.php"
click node_roles "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Enums/UserRole.php"
click node_participant "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Participant.php"
click node_tutor "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Tutor.php"
click node_school "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/School.php"
click node_event_admin "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Filament/Resources/LearningEventResource.php"
click node_event "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningEvent.php"
click node_attendance "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/EventAttendanceService.php"
click node_module_template "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/ModuleTemplate.php"
click node_meeting "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningMeeting.php"
click node_material "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningMaterial.php"
click node_assessment "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Assessment.php"
click node_attempt "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/AssessmentAttempt.php"
click node_evidence "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Evidence.php"
click node_eligibility "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/CertificateEligibilityService.php"
click node_certificate "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Certificate.php"
click node_certificate_pdf "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/CertificateTemplatePreviewController.php"
click node_tot "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/TotAssessment.php"
click node_template "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/CertificateTemplate.php"
click node_microsite "https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/MicrositePractice.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_public_site,node_registration,node_enrollment toneBlue
class node_school,node_event_admin,node_event,node_attendance,node_database toneAmber
class node_module_template,node_meeting,node_material,node_assessment,node_attempt,node_tot toneMint
class node_evidence,node_eligibility,node_certificate,node_certificate_pdf,node_template,node_microsite toneRose
class node_role_auth,node_roles,node_participant,node_tutor,node_visitor,node_participants,node_tutors,node_admins toneIndigo
```

## Components

### Public access

- [Public pages](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/PublicPageController.php): `src/app/Http/Controllers/PublicPageController.php`
- [Event registration](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/ParticipantRegistrationController.php): `src/app/Http/Controllers/ParticipantRegistrationController.php`
- [Event enrollment](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/EventEnrollmentService.php): `src/app/Services/EventEnrollmentService.php`

### Event operations

- [School and location](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/School.php): `src/app/Models/School.php`
- [Event administration](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Filament/Resources/LearningEventResource.php): `src/app/Filament/Resources/LearningEventResource.php`
- [Learning event](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningEvent.php): `src/app/Models/LearningEvent.php`
- [Attendance workflows](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/EventAttendanceService.php): `src/app/Services/EventAttendanceService.php`

### Learning delivery

- [Module templates](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/ModuleTemplate.php): `src/app/Models/ModuleTemplate.php`
- [Learning meetings](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningMeeting.php): `src/app/Models/LearningMeeting.php`
- [Learning materials](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/LearningMaterial.php): `src/app/Models/LearningMaterial.php`
- [Assessments](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Assessment.php): `src/app/Models/Assessment.php`
- [Assessment attempts](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/AssessmentAttempt.php): `src/app/Models/AssessmentAttempt.php`
- [Tutor assessments](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/TotAssessment.php): `src/app/Models/TotAssessment.php`

### Evidence and credentials

- [Evidence records](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Evidence.php): `src/app/Models/Evidence.php`
- [Certificate eligibility](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Services/CertificateEligibilityService.php): `src/app/Services/CertificateEligibilityService.php`
- [Certificates](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Certificate.php): `src/app/Models/Certificate.php`
- [Certificate PDF](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Http/Controllers/CertificateTemplatePreviewController.php): `src/app/Http/Controllers/CertificateTemplatePreviewController.php`
- [Certificate templates](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/CertificateTemplate.php): `src/app/Models/CertificateTemplate.php`
- [Microsite practice](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/MicrositePractice.php): `src/app/Models/MicrositePractice.php`

### Identity and roles

- [Role access](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/User.php): `src/app/Models/User.php`
- [Role definitions](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Enums/UserRole.php): `src/app/Enums/UserRole.php`
- [Participant profile](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Participant.php): `src/app/Models/Participant.php`
- [Tutor profile](https://github.com/thifaaldz/isoc-2026/blob/main/src/app/Models/Tutor.php): `src/app/Models/Tutor.php`

### Other components

- **Public visitor**
- **Participants**
- **Tutors**
- **RTIK admins**
- **MariaDB**

## Connections

- Public visitor → Public pages: browses events (evidence: `README.md`)
- Public pages → Learning event: lists published (evidence: `src/app/Http/Controllers/PublicPageController.php`)
- Public visitor → Event registration: registers (evidence: `README.md`)
- Event registration → Learning event: checks event (evidence: `src/app/Http/Controllers/ParticipantRegistrationController.php`)
- Event registration → Participant profile: creates profile (evidence: `src/app/Http/Controllers/ParticipantRegistrationController.php`)
- Event registration → Event enrollment: enrolls participant (evidence: `src/app/Http/Controllers/ParticipantRegistrationController.php`)
- Event enrollment → Learning event: enrolls into (evidence: `src/app/Services/EventEnrollmentService.php`)
- RTIK admins → Event administration: submits and reviews (evidence: `README.md`)
- Event administration → Learning event: manages event
- Learning event → School and location: belongs to (evidence: `src/app/Models/LearningEvent.php`)
- Learning event → Participant profile: associates participants (evidence: `src/app/Models/LearningEvent.php`)
- Learning event → Tutor profile: assigns tutors (evidence: `src/app/Models/LearningEvent.php`)
- Learning event → Learning meetings: has meetings (evidence: `src/app/Models/LearningEvent.php`)
- Learning event → Assessments: has assessments (evidence: `src/app/Models/LearningEvent.php`)
- Learning event → Evidence records: has evidence (evidence: `src/app/Models/LearningEvent.php`)
- Tutors → Tutor assessments: complete ToT (evidence: `README.md`)
- Tutors → Attendance workflows: record attendance (evidence: `README.md`)
- Learning event → Module templates: uses template (evidence: `src/app/Models/LearningEvent.php`)
- Module templates → Learning meetings: provides meetings (evidence: `src/app/Models/ModuleTemplate.php`)
- Learning meetings → Learning materials: has materials (evidence: `src/app/Models/LearningMeeting.php`)
- Learning meetings → Assessments: has assessments (evidence: `src/app/Models/LearningMeeting.php`)
- Participants → Assessments: take tests (evidence: `README.md`)
- Assessments → Assessment attempts: records attempts (evidence: `src/app/Models/Assessment.php`)
- Participants → Evidence records: submit proof (evidence: `README.md`)
- Participants → Microsite practice: complete practice (evidence: `README.md`)
- Certificate eligibility → Assessment attempts: checks completion (evidence: `src/app/Services/CertificateEligibilityService.php`)
- Certificate eligibility → Evidence records: checks proof (evidence: `src/app/Services/CertificateEligibilityService.php`)
- Certificate eligibility → Microsite practice: checks practice (evidence: `src/app/Services/CertificateEligibilityService.php`)
- Certificate eligibility → Certificates: determines eligibility (evidence: `src/app/Services/CertificateEligibilityService.php`)
- Certificates → Certificate templates: uses template (evidence: `src/app/Models/Certificate.php`)
- Certificate PDF → Certificate templates: previews template (evidence: `src/app/Http/Controllers/CertificateTemplatePreviewController.php`)
- Participants → Certificates: view or download (evidence: `README.md`)
- Role access → Role definitions: checks panel role (evidence: `src/app/Models/User.php`)
- RTIK admins → Role access: sign in (evidence: `README.md`)
- Tutors → Role access: sign in (evidence: `README.md`)
- Participants → Role access: sign in (evidence: `README.md`)
- Learning event → MariaDB: persists event data
- Participant profile → MariaDB: persists profile
