# shyedesu/lgu-committee architecture

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

- Interactive diagram: https://gitdiagram.com/shyedesu/lgu-committee
- Repository: https://github.com/shyedesu/lgu-committee

## Overview

This PHP application is a legislative committee management system. Users enter through the public landing/login flow, authenticate into a session, then work with committees, meetings, referrals, and action items; supporting areas include notifications, reporting, audit, and administration. The tree establishes these product capabilities, but most page implementations were not sampled, so their internal calls are not asserted. The main source index supports the landing-page dependencies and several helper relationships; the graph does not treat the backup copies as separate runtime components.

Main entry points: [`Capstone Project/index.php`](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/index.php) (Public Landing), [`Capstone Project/config/database.php`](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/config/database.php) (Application Database), [`Capstone Project/app/helpers/CommitteeHelper.php`](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/CommitteeHelper.php) (Committee Management), [`Capstone Project/app/helpers/DataHelper.php`](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/DataHelper.php) (Shared Data)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and Identity"]
  node_landing["Public Landing<br/>[index.php]"]
  node_auth["Authentication<br/>[AuthController.php]"]
  node_oauth["OAuth Login"]
  node_registration["Registration"]
  node_sessions["Session Management<br/>[SessionManager.php]"]
end

subgraph group_work["Committee Work"]
  node_dashboard["Dashboard<br/>[dashboard.php]"]
  node_committees["Committee Management"]
  node_meetings["Meeting Management<br/>[MeetingHelper.php]"]
  node_agenda["Agenda and Voting"]
  node_actionitems["Action Items"]
  node_referrals["Referral Management"]
  node_documents["Committee Documents"]
end

subgraph group_insight["Tracking and Insight"]
  node_reports["Reports and Analytics<br/>[ReportsHelper.php]"]
  node_audit["Audit Logs<br/>[AuditHelper.php]"]
end

subgraph group_platform["Shared Services"]
  node_notifications["Notifications"]
  node_data["Shared Data<br/>[DataHelper.php]"]
  node_permissions["Permissions"]
  node_settings["System Settings"]
  node_mail["Email Delivery<br/>[MailHelper.php]"]
  node_database[("Application Database<br/>[database.php]")]
end

node_user(("User"))

node_user -.->|"opens"| node_landing
node_landing -->|"connects"| node_database
node_landing -->|"loads helper"| node_meetings
node_landing -->|"loads helper"| node_committees
node_landing -->|"loads helper"| node_data
node_landing -->|"redirects logged-in"| node_dashboard
node_auth -->|"authenticates through"| node_sessions
node_oauth -->|"authenticates through"| node_sessions
node_registration -->|"uses connection"| node_database
node_committees -->|"uses"| node_audit
node_committees -->|"uses"| node_notifications
node_committees -->|"queries"| node_database
node_data -->|"uses"| node_audit
node_data -->|"uses"| node_notifications
node_data -->|"queries"| node_database
node_meetings -->|"uses"| node_audit
node_meetings -->|"queries"| node_database
node_mail -->|"reads settings"| node_settings
node_mail -->|"uses connection"| node_database

click node_landing "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/index.php"
click node_auth "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/controllers/AuthController.php"
click node_oauth "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/controllers/OAuthController.php"
click node_registration "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/controllers/RegistrationController.php"
click node_sessions "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/middleware/SessionManager.php"
click node_dashboard "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/public/dashboard.php"
click node_committees "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/CommitteeHelper.php"
click node_meetings "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/MeetingHelper.php"
click node_actionitems "https://github.com/shyedesu/lgu-committee/tree/main/Capstone%20Project/public/pages/action-items"
click node_documents "https://github.com/shyedesu/lgu-committee/tree/main/Capstone%20Project/public/pages/committee-profiles"
click node_reports "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/ReportsHelper.php"
click node_audit "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/AuditHelper.php"
click node_notifications "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/NotificationHelper.php"
click node_data "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/DataHelper.php"
click node_permissions "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/PermissionHelper.php"
click node_settings "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/SystemSettingsHelper.php"
click node_mail "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/MailHelper.php"
click node_database "https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/config/database.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_landing,node_auth,node_oauth,node_registration,node_sessions,node_user toneBlue
class node_dashboard,node_committees,node_meetings,node_agenda,node_actionitems,node_referrals,node_documents toneAmber
class node_reports,node_audit toneMint
class node_notifications,node_data,node_permissions,node_settings,node_mail,node_database toneRose
```

## Components

### Access and Identity

- [Public Landing](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/index.php): `Capstone Project/index.php`
- [Authentication](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/controllers/AuthController.php): `Capstone Project/app/controllers/AuthController.php`
- [OAuth Login](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/controllers/OAuthController.php): `Capstone Project/app/controllers/OAuthController.php`
- [Registration](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/controllers/RegistrationController.php): `Capstone Project/app/controllers/RegistrationController.php`
- [Session Management](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/middleware/SessionManager.php): `Capstone Project/app/middleware/SessionManager.php`

### Committee Work

- [Dashboard](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/public/dashboard.php): `Capstone Project/public/dashboard.php`
- [Committee Management](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/CommitteeHelper.php): `Capstone Project/app/helpers/CommitteeHelper.php`
- [Meeting Management](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/MeetingHelper.php): `Capstone Project/app/helpers/MeetingHelper.php`
- **Agenda and Voting**
- [Action Items](https://github.com/shyedesu/lgu-committee/tree/main/Capstone%20Project/public/pages/action-items): `Capstone Project/public/pages/action-items`
- **Referral Management**
- [Committee Documents](https://github.com/shyedesu/lgu-committee/tree/main/Capstone%20Project/public/pages/committee-profiles): `Capstone Project/public/pages/committee-profiles`

### Tracking and Insight

- [Reports and Analytics](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/ReportsHelper.php): `Capstone Project/app/helpers/ReportsHelper.php`
- [Audit Logs](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/AuditHelper.php): `Capstone Project/app/helpers/AuditHelper.php`

### Shared Services

- [Notifications](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/NotificationHelper.php): `Capstone Project/app/helpers/NotificationHelper.php`
- [Shared Data](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/DataHelper.php): `Capstone Project/app/helpers/DataHelper.php`
- [Permissions](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/PermissionHelper.php): `Capstone Project/app/helpers/PermissionHelper.php`
- [System Settings](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/SystemSettingsHelper.php): `Capstone Project/app/helpers/SystemSettingsHelper.php`
- [Email Delivery](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/app/helpers/MailHelper.php): `Capstone Project/app/helpers/MailHelper.php`
- [Application Database](https://github.com/shyedesu/lgu-committee/blob/main/Capstone%20Project/config/database.php): `Capstone Project/config/database.php`

### Other components

- **User**

## Connections

- User → Public Landing: opens
- Public Landing → Application Database: connects (evidence: `Capstone Project/index.php`)
- Public Landing → Meeting Management: loads helper (evidence: `Capstone Project/index.php`)
- Public Landing → Committee Management: loads helper (evidence: `Capstone Project/index.php`)
- Public Landing → Shared Data: loads helper (evidence: `Capstone Project/index.php`)
- Public Landing → Dashboard: redirects logged-in (evidence: `Capstone Project/index.php`)
- Authentication → Session Management: authenticates through (evidence: `Capstone Project/app/controllers/AuthController.php`)
- OAuth Login → Session Management: authenticates through (evidence: `Capstone Project/app/controllers/OAuthController.php`)
- Registration → Application Database: uses connection (evidence: `Capstone Project/app/controllers/RegistrationController.php`)
- Committee Management → Audit Logs: uses (evidence: `Capstone Project/app/helpers/CommitteeHelper.php`)
- Committee Management → Notifications: uses (evidence: `Capstone Project/app/helpers/CommitteeHelper.php`)
- Committee Management → Application Database: queries (evidence: `Capstone Project/app/helpers/CommitteeHelper.php`)
- Shared Data → Audit Logs: uses (evidence: `Capstone Project/app/helpers/DataHelper.php`)
- Shared Data → Notifications: uses (evidence: `Capstone Project/app/helpers/DataHelper.php`)
- Shared Data → Application Database: queries (evidence: `Capstone Project/app/helpers/DataHelper.php`)
- Meeting Management → Audit Logs: uses (evidence: `Capstone Project/app/helpers/MeetingHelper.php`)
- Meeting Management → Application Database: queries (evidence: `Capstone Project/app/helpers/MeetingHelper.php`)
- Email Delivery → System Settings: reads settings (evidence: `Capstone Project/app/helpers/MailHelper.php`)
- Email Delivery → Application Database: uses connection (evidence: `Capstone Project/app/helpers/MailHelper.php`)
