# canyongbs/advisingapp architecture

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

- Interactive diagram: https://gitdiagram.com/canyongbs/advisingapp
- Repository: https://github.com/canyongbs/advisingapp

## Overview

Advising App is a student-engagement and relationship-management platform for higher education. Staff work with student and prospect records, identify priority groups, and coordinate conversations, tasks, and guided outreach; students can also submit forms and applications. AI chat and campus-system integrations are documented capabilities. The graph emphasizes these product stages and shared identity, authorization, and notification layers. Several connections reflect README-level capabilities rather than inspected call sites; unsampled implementation details are not inferred.

Main entry points: [`app-modules/student-data-model/src/Models/Student.php`](https://github.com/canyongbs/advisingapp/blob/main/app-modules/student-data-model/src/Models/Student.php) (Student records), [`app/Models/User.php`](https://github.com/canyongbs/advisingapp/blob/main/app/Models/User.php) (User identity), [`app-modules/campaign/src/Filament/Resources/Campaigns/RelationManagers/CampaignActionsRelationManager.php`](https://github.com/canyongbs/advisingapp/blob/main/app-modules/campaign/src/Filament/Resources/Campaigns/RelationManagers/CampaignActionsRelationManager.php) (Guided outreach), [`app-modules/form/src/Models/Form.php`](https://github.com/canyongbs/advisingapp/blob/main/app-modules/form/src/Models/Form.php) (Forms)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_profiles["Student relationships"]
  node_student[("Student records<br/>[Student.php]")]
  node_prospect[("Prospect records<br/>[Prospect.php]")]
  node_department[("Departments<br/>[Department.php]")]
  node_reports["Student reports<br/>[Students.php]"]
  node_enrollments["Enrollment data"]
end

subgraph group_outreach["Engagement and outreach"]
  node_groups[("Dynamic groups<br/>[Group.php]")]
  node_campaigns["Guided outreach"]
  node_tasks[("Tasks<br/>[Task.php]")]
  node_messaging["Student messaging<br/>[ChannelManager.php]"]
  node_workflow["Workflow follow-up"]
end

subgraph group_intake["Forms and applications"]
  node_forms[("Forms<br/>[Form.php]")]
  node_applications[("Applications<br/>[Application.php]")]
end

subgraph group_platform["Shared platform"]
  node_notifications["Staff notifications<br/>[Notifications.php]"]
  node_user[("User identity<br/>[User.php]")]
  node_authenticatable["Authentication base"]
  node_basemodel["Shared model base<br/>[BaseModel.php]"]
  node_licenses["Feature licensing<br/>[LicenseType.php]"]
  node_controller["HTTP controller base<br/>[Controller.php]"]
end

subgraph group_ai["AI and integrations"]
  node_ai["AI chat and advisors"]
  node_aiassistants[("AI assistant setup<br/>[AiAssistant.php]")]
  node_campus["Campus systems"]
end

node_staff(("Student-facing staff"))
node_students(("Students"))

node_staff -.->|"reviews context"| node_student
node_staff -.->|"manages relationships"| node_prospect
node_student -.->|"segments"| node_groups
node_groups -.->|"targets outreach"| node_campaigns
node_campaigns -.->|"coordinates messages"| node_messaging
node_campaigns -.->|"coordinates tasks"| node_tasks
node_student -.->|"tracks actions"| node_tasks
node_students -.->|"communicates by text/email"| node_messaging
node_student -->|"has enrollment data"| node_enrollments
node_staff -.->|"reviews outcomes"| node_reports
node_students -.->|"submits responses"| node_forms
node_students -.->|"submits applications"| node_applications
node_forms -->|"triggers follow-up"| node_workflow
node_applications -->|"triggers follow-up"| node_workflow
node_students -.->|"asks questions"| node_ai
node_aiassistants -.->|"grounds responses"| node_ai
node_campus -.->|"supplies records"| node_student
node_user -.->|"receives updates"| node_notifications
node_authenticatable -.->|"underlies identity"| node_user
node_user -.->|"belongs to team"| node_department
node_user -->|"uses licensed features"| node_licenses
node_controller -->|"serves previews"| node_forms
node_controller -->|"serves previews"| node_applications

click node_student "https://github.com/canyongbs/advisingapp/blob/main/app-modules/student-data-model/src/Models/Student.php"
click node_prospect "https://github.com/canyongbs/advisingapp/blob/main/app-modules/prospect/src/Models/Prospect.php"
click node_department "https://github.com/canyongbs/advisingapp/blob/main/app-modules/team/src/Models/Department.php"
click node_groups "https://github.com/canyongbs/advisingapp/blob/main/app-modules/group/src/Models/Group.php"
click node_campaigns "https://github.com/canyongbs/advisingapp/blob/main/app-modules/campaign/src/Filament/Resources/Campaigns/RelationManagers/CampaignActionsRelationManager.php"
click node_tasks "https://github.com/canyongbs/advisingapp/blob/main/app-modules/task/src/Models/Task.php"
click node_messaging "https://github.com/canyongbs/advisingapp/blob/main/app-modules/notification/src/Notifications/ChannelManager.php"
click node_notifications "https://github.com/canyongbs/advisingapp/blob/main/app/Filament/Widgets/Notifications.php"
click node_reports "https://github.com/canyongbs/advisingapp/blob/main/app-modules/report/src/Filament/Pages/Students.php"
click node_enrollments "https://github.com/canyongbs/advisingapp/blob/main/app-modules/student-data-model/src/Http/Controllers/Api/V1/Students/StudentEnrollments/ListStudentEnrollmentsController.php"
click node_forms "https://github.com/canyongbs/advisingapp/blob/main/app-modules/form/src/Models/Form.php"
click node_applications "https://github.com/canyongbs/advisingapp/blob/main/app-modules/application/src/Models/Application.php"
click node_workflow "https://github.com/canyongbs/advisingapp/blob/main/app-modules/workflow/src/Filament/Resources/Workflows/RelationManagers/WorkflowStepsRelationManager.php"
click node_ai "https://github.com/canyongbs/advisingapp/blob/main/app-modules/ai/src/Http/Controllers/Advisors/SendMessageController.php"
click node_aiassistants "https://github.com/canyongbs/advisingapp/blob/main/app-modules/ai/src/Models/AiAssistant.php"
click node_user "https://github.com/canyongbs/advisingapp/blob/main/app/Models/User.php"
click node_authenticatable "https://github.com/canyongbs/advisingapp/blob/main/app/Models/Authenticatable.php"
click node_basemodel "https://github.com/canyongbs/advisingapp/blob/main/app/Models/BaseModel.php"
click node_licenses "https://github.com/canyongbs/advisingapp/blob/main/app-modules/authorization/src/Enums/LicenseType.php"
click node_controller "https://github.com/canyongbs/advisingapp/blob/main/app/Http/Controllers/Controller.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_student,node_prospect,node_department,node_reports,node_enrollments toneBlue
class node_groups,node_campaigns,node_tasks,node_messaging,node_workflow toneAmber
class node_forms,node_applications toneMint
class node_notifications,node_user,node_authenticatable,node_basemodel,node_licenses,node_controller toneRose
class node_ai,node_aiassistants,node_campus,node_staff,node_students toneIndigo
```

## Components

### Student relationships

- [Student records](https://github.com/canyongbs/advisingapp/blob/main/app-modules/student-data-model/src/Models/Student.php): `app-modules/student-data-model/src/Models/Student.php`
- [Prospect records](https://github.com/canyongbs/advisingapp/blob/main/app-modules/prospect/src/Models/Prospect.php): `app-modules/prospect/src/Models/Prospect.php`
- [Departments](https://github.com/canyongbs/advisingapp/blob/main/app-modules/team/src/Models/Department.php): `app-modules/team/src/Models/Department.php`
- [Student reports](https://github.com/canyongbs/advisingapp/blob/main/app-modules/report/src/Filament/Pages/Students.php): `app-modules/report/src/Filament/Pages/Students.php`
- [Enrollment data](https://github.com/canyongbs/advisingapp/blob/main/app-modules/student-data-model/src/Http/Controllers/Api/V1/Students/StudentEnrollments/ListStudentEnrollmentsController.php): `app-modules/student-data-model/src/Http/Controllers/Api/V1/Students/StudentEnrollments/ListStudentEnrollmentsController.php`

### Engagement and outreach

- [Dynamic groups](https://github.com/canyongbs/advisingapp/blob/main/app-modules/group/src/Models/Group.php): `app-modules/group/src/Models/Group.php`
- [Guided outreach](https://github.com/canyongbs/advisingapp/blob/main/app-modules/campaign/src/Filament/Resources/Campaigns/RelationManagers/CampaignActionsRelationManager.php): `app-modules/campaign/src/Filament/Resources/Campaigns/RelationManagers/CampaignActionsRelationManager.php`
- [Tasks](https://github.com/canyongbs/advisingapp/blob/main/app-modules/task/src/Models/Task.php): `app-modules/task/src/Models/Task.php`
- [Student messaging](https://github.com/canyongbs/advisingapp/blob/main/app-modules/notification/src/Notifications/ChannelManager.php): `app-modules/notification/src/Notifications/ChannelManager.php`
- [Workflow follow-up](https://github.com/canyongbs/advisingapp/blob/main/app-modules/workflow/src/Filament/Resources/Workflows/RelationManagers/WorkflowStepsRelationManager.php): `app-modules/workflow/src/Filament/Resources/Workflows/RelationManagers/WorkflowStepsRelationManager.php`

### Forms and applications

- [Forms](https://github.com/canyongbs/advisingapp/blob/main/app-modules/form/src/Models/Form.php): `app-modules/form/src/Models/Form.php`
- [Applications](https://github.com/canyongbs/advisingapp/blob/main/app-modules/application/src/Models/Application.php): `app-modules/application/src/Models/Application.php`

### Shared platform

- [Staff notifications](https://github.com/canyongbs/advisingapp/blob/main/app/Filament/Widgets/Notifications.php): `app/Filament/Widgets/Notifications.php`
- [User identity](https://github.com/canyongbs/advisingapp/blob/main/app/Models/User.php): `app/Models/User.php`
- [Authentication base](https://github.com/canyongbs/advisingapp/blob/main/app/Models/Authenticatable.php): `app/Models/Authenticatable.php`
- [Shared model base](https://github.com/canyongbs/advisingapp/blob/main/app/Models/BaseModel.php): `app/Models/BaseModel.php`
- [Feature licensing](https://github.com/canyongbs/advisingapp/blob/main/app-modules/authorization/src/Enums/LicenseType.php): `app-modules/authorization/src/Enums/LicenseType.php`
- [HTTP controller base](https://github.com/canyongbs/advisingapp/blob/main/app/Http/Controllers/Controller.php): `app/Http/Controllers/Controller.php`

### AI and integrations

- [AI chat and advisors](https://github.com/canyongbs/advisingapp/blob/main/app-modules/ai/src/Http/Controllers/Advisors/SendMessageController.php): `app-modules/ai/src/Http/Controllers/Advisors/SendMessageController.php`
- [AI assistant setup](https://github.com/canyongbs/advisingapp/blob/main/app-modules/ai/src/Models/AiAssistant.php): `app-modules/ai/src/Models/AiAssistant.php`
- **Campus systems**

### Other components

- **Student-facing staff**
- **Students**

## Connections

- Student-facing staff → Student records: reviews context (evidence: `README.md`)
- Student-facing staff → Prospect records: manages relationships (evidence: `README.md`)
- Student records → Dynamic groups: segments (evidence: `README.md`)
- Dynamic groups → Guided outreach: targets outreach (evidence: `README.md`)
- Guided outreach → Student messaging: coordinates messages (evidence: `README.md`)
- Guided outreach → Tasks: coordinates tasks (evidence: `README.md`)
- Student records → Tasks: tracks actions (evidence: `README.md`)
- Students → Student messaging: communicates by text/email (evidence: `README.md`)
- Student records → Enrollment data: has enrollment data (evidence: `app-modules/student-data-model/src/Models/Student.php`)
- Student-facing staff → Student reports: reviews outcomes (evidence: `README.md`)
- Students → Forms: submits responses (evidence: `README.md`)
- Students → Applications: submits applications (evidence: `README.md`)
- Forms → Workflow follow-up: triggers follow-up (evidence: `app-modules/form/src/Models/Form.php`)
- Applications → Workflow follow-up: triggers follow-up (evidence: `app-modules/application/src/Models/Application.php`)
- Students → AI chat and advisors: asks questions (evidence: `README.md`)
- AI assistant setup → AI chat and advisors: grounds responses (evidence: `README.md`)
- Campus systems → Student records: supplies records (evidence: `README.md`)
- User identity → Staff notifications: receives updates (evidence: `README.md`)
- Authentication base → User identity: underlies identity (evidence: `app/Models/User.php`)
- User identity → Departments: belongs to team (evidence: `README.md`)
- User identity → Feature licensing: uses licensed features (evidence: `app-modules/authorization/src/Enums/LicenseType.php`)
- HTTP controller base → Forms: serves previews (evidence: `app-modules/form/src/Http/Controllers/FormPreviewController.php`)
- HTTP controller base → Applications: serves previews (evidence: `app-modules/application/src/Http/Controllers/ApplicationPreviewController.php`)
