# bahrie127/project-management architecture

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

- Interactive diagram: https://gitdiagram.com/bahrie127/project-management
- Repository: https://github.com/bahrie127/project-management

## Overview

Work Together is a Laravel/Filament project-management application. Team members use the admin panel to configure projects and workflows, then create, assign, discuss, and track tickets through boards, timelines, and reporting views; clients can use a separate external dashboard. The graph preserves the documented capabilities, with specific model and notification relationships grounded in the supplied source excerpts or SOURCE INDEX. Several UI subsystems were not sampled, so their internal calls are omitted.

Main entry points: [`app/Models/Ticket.php`](https://github.com/bahrie127/project-management/blob/main/app/Models/Ticket.php) (Tickets), [`app/Models/Project.php`](https://github.com/bahrie127/project-management/blob/main/app/Models/Project.php) (Projects), [`app/Providers/Filament/AdminPanelProvider.php`](https://github.com/bahrie127/project-management/blob/main/app/Providers/Filament/AdminPanelProvider.php) (Filament admin), [`app/Filament/Resources/Tickets/TicketResource.php`](https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Tickets/TicketResource.php) (Ticket management)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_admin["Team workspace"]
  node_filament["Filament admin"]
  node_project_admin["Project management"]
  node_ticket_admin["Ticket management<br/>[TicketResource.php]"]
  node_board["Kanban board<br/>[ProjectBoard.php]"]
end

subgraph group_domain["Project and ticket domain"]
  node_project["Projects<br/>[Project.php]"]
  node_ticket["Tickets<br/>[Ticket.php]"]
  node_status["Ticket statuses<br/>[TicketStatus.php]"]
  node_priority["Ticket priorities<br/>[TicketPriority.php]"]
  node_epic["Epics<br/>[Epic.php]"]
  node_comment["Ticket comments<br/>[TicketComment.php]"]
  node_history["Ticket history<br/>[TicketHistory.php]"]
  node_user["Users and roles<br/>[User.php]"]
end

subgraph group_insights["Views and data exchange"]
  node_timeline["Timeline views"]
  node_analytics["Team analytics<br/>[Leaderboard.php]"]
  node_exchange["Ticket import/export"]
end

subgraph group_collaboration["Access and notifications"]
  node_external["Client portal"]
  node_access["External access<br/>[ExternalAccess.php]"]
  node_google["Google sign-in"]
  node_notification_service["Notification service"]
  node_notifications["Notifications<br/>[Notification.php]"]
  node_assignment_events["Membership events"]
  node_assignment_listener["Assignment listeners"]
  node_mail["Assignment email"]
end

node_team(("Team member"))
node_client(("Client"))
node_google_provider["Google OAuth"]

node_team -->|"uses"| node_filament
node_filament -->|"manages projects"| node_project_admin
node_filament -->|"manages tickets"| node_ticket_admin
node_team -->|"tracks progress"| node_board
node_project_admin -.->|"manages"| node_project
node_ticket_admin -->|"manages"| node_ticket
node_project -->|"has tickets"| node_ticket
node_project -->|"has statuses"| node_status
node_project -->|"has epics"| node_epic
node_ticket -->|"has status"| node_status
node_ticket -->|"has priority"| node_priority
node_ticket -->|"belongs to"| node_epic
node_ticket -->|"has comments"| node_comment
node_ticket -->|"records changes"| node_history
node_ticket -->|"assigns users"| node_user
node_project -->|"has members"| node_user
node_team -->|"reviews schedule"| node_timeline
node_team -->|"reviews contributions"| node_analytics
node_ticket_admin -->|"imports tickets"| node_exchange
node_exchange -->|"creates tickets"| node_ticket
node_client -->|"views project"| node_external
node_external -->|"reads project data"| node_project
node_project -->|"has external access"| node_access
node_team -->|"signs in"| node_google
node_google -->|"authenticates with"| node_google_provider
node_google -->|"finds or creates"| node_user
node_assignment_events -->|"dispatches to"| node_assignment_listener
node_assignment_listener -->|"calls"| node_notification_service
node_notification_service -->|"creates"| node_notifications
node_notification_service -->|"sends assignment email"| node_mail

click node_filament "https://github.com/bahrie127/project-management/blob/main/app/Providers/Filament/AdminPanelProvider.php"
click node_project_admin "https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Projects/ProjectResource.php"
click node_ticket_admin "https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Tickets/TicketResource.php"
click node_board "https://github.com/bahrie127/project-management/blob/main/app/Filament/Pages/ProjectBoard.php"
click node_project "https://github.com/bahrie127/project-management/blob/main/app/Models/Project.php"
click node_ticket "https://github.com/bahrie127/project-management/blob/main/app/Models/Ticket.php"
click node_status "https://github.com/bahrie127/project-management/blob/main/app/Models/TicketStatus.php"
click node_priority "https://github.com/bahrie127/project-management/blob/main/app/Models/TicketPriority.php"
click node_epic "https://github.com/bahrie127/project-management/blob/main/app/Models/Epic.php"
click node_comment "https://github.com/bahrie127/project-management/blob/main/app/Models/TicketComment.php"
click node_history "https://github.com/bahrie127/project-management/blob/main/app/Models/TicketHistory.php"
click node_user "https://github.com/bahrie127/project-management/blob/main/app/Models/User.php"
click node_timeline "https://github.com/bahrie127/project-management/blob/main/app/Filament/Pages/ProjectTimeline.php"
click node_analytics "https://github.com/bahrie127/project-management/blob/main/app/Filament/Pages/Leaderboard.php"
click node_exchange "https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Projects/RelationManagers/TicketsRelationManager.php"
click node_external "https://github.com/bahrie127/project-management/blob/main/app/Livewire/ExternalDashboard.php"
click node_access "https://github.com/bahrie127/project-management/blob/main/app/Models/ExternalAccess.php"
click node_google "https://github.com/bahrie127/project-management/blob/main/app/Http/Controllers/Auth/GoogleController.php"
click node_notification_service "https://github.com/bahrie127/project-management/blob/main/app/Services/NotificationService.php"
click node_notifications "https://github.com/bahrie127/project-management/blob/main/app/Models/Notification.php"
click node_assignment_events "https://github.com/bahrie127/project-management/blob/main/app/Events/ProjectMemberAttached.php"
click node_assignment_listener "https://github.com/bahrie127/project-management/blob/main/app/Listeners/SendProjectAssignmentNotification.php"
click node_mail "https://github.com/bahrie127/project-management/blob/main/app/Mail/ProjectAssignmentNotification.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_filament,node_project_admin,node_ticket_admin,node_board,node_client toneBlue
class node_project,node_ticket,node_status,node_priority,node_epic,node_comment,node_history,node_user toneAmber
class node_timeline,node_analytics,node_exchange toneMint
class node_external,node_access,node_google,node_notification_service,node_notifications,node_assignment_events,node_assignment_listener,node_mail toneRose
class node_team,node_google_provider toneIndigo
```

## Components

### Team workspace

- [Filament admin](https://github.com/bahrie127/project-management/blob/main/app/Providers/Filament/AdminPanelProvider.php): `app/Providers/Filament/AdminPanelProvider.php`
- [Project management](https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Projects/ProjectResource.php): `app/Filament/Resources/Projects/ProjectResource.php`
- [Ticket management](https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Tickets/TicketResource.php): `app/Filament/Resources/Tickets/TicketResource.php`
- [Kanban board](https://github.com/bahrie127/project-management/blob/main/app/Filament/Pages/ProjectBoard.php): `app/Filament/Pages/ProjectBoard.php`

### Project and ticket domain

- [Projects](https://github.com/bahrie127/project-management/blob/main/app/Models/Project.php): `app/Models/Project.php`
- [Tickets](https://github.com/bahrie127/project-management/blob/main/app/Models/Ticket.php): `app/Models/Ticket.php`
- [Ticket statuses](https://github.com/bahrie127/project-management/blob/main/app/Models/TicketStatus.php): `app/Models/TicketStatus.php`
- [Ticket priorities](https://github.com/bahrie127/project-management/blob/main/app/Models/TicketPriority.php): `app/Models/TicketPriority.php`
- [Epics](https://github.com/bahrie127/project-management/blob/main/app/Models/Epic.php): `app/Models/Epic.php`
- [Ticket comments](https://github.com/bahrie127/project-management/blob/main/app/Models/TicketComment.php): `app/Models/TicketComment.php`
- [Ticket history](https://github.com/bahrie127/project-management/blob/main/app/Models/TicketHistory.php): `app/Models/TicketHistory.php`
- [Users and roles](https://github.com/bahrie127/project-management/blob/main/app/Models/User.php): `app/Models/User.php`

### Views and data exchange

- [Timeline views](https://github.com/bahrie127/project-management/blob/main/app/Filament/Pages/ProjectTimeline.php): `app/Filament/Pages/ProjectTimeline.php`
- [Team analytics](https://github.com/bahrie127/project-management/blob/main/app/Filament/Pages/Leaderboard.php): `app/Filament/Pages/Leaderboard.php`
- [Ticket import/export](https://github.com/bahrie127/project-management/blob/main/app/Filament/Resources/Projects/RelationManagers/TicketsRelationManager.php): `app/Filament/Resources/Projects/RelationManagers/TicketsRelationManager.php`

### Access and notifications

- [Client portal](https://github.com/bahrie127/project-management/blob/main/app/Livewire/ExternalDashboard.php): `app/Livewire/ExternalDashboard.php`
- [External access](https://github.com/bahrie127/project-management/blob/main/app/Models/ExternalAccess.php): `app/Models/ExternalAccess.php`
- [Google sign-in](https://github.com/bahrie127/project-management/blob/main/app/Http/Controllers/Auth/GoogleController.php): `app/Http/Controllers/Auth/GoogleController.php`
- [Notification service](https://github.com/bahrie127/project-management/blob/main/app/Services/NotificationService.php): `app/Services/NotificationService.php`
- [Notifications](https://github.com/bahrie127/project-management/blob/main/app/Models/Notification.php): `app/Models/Notification.php`
- [Membership events](https://github.com/bahrie127/project-management/blob/main/app/Events/ProjectMemberAttached.php): `app/Events/ProjectMemberAttached.php`
- [Assignment listeners](https://github.com/bahrie127/project-management/blob/main/app/Listeners/SendProjectAssignmentNotification.php): `app/Listeners/SendProjectAssignmentNotification.php`
- [Assignment email](https://github.com/bahrie127/project-management/blob/main/app/Mail/ProjectAssignmentNotification.php): `app/Mail/ProjectAssignmentNotification.php`

### Other components

- **Team member**
- **Client**
- **Google OAuth**

## Connections

- Team member → Filament admin: uses
- Filament admin → Project management: manages projects
- Filament admin → Ticket management: manages tickets
- Team member → Kanban board: tracks progress
- Project management → Projects: manages
- Ticket management → Tickets: manages (evidence: `app/Filament/Resources/Tickets/TicketResource.php`)
- Projects → Tickets: has tickets (evidence: `app/Models/Project.php`)
- Projects → Ticket statuses: has statuses (evidence: `app/Models/Project.php`)
- Projects → Epics: has epics (evidence: `app/Models/Project.php`)
- Tickets → Ticket statuses: has status (evidence: `app/Models/Ticket.php`)
- Tickets → Ticket priorities: has priority (evidence: `app/Models/Ticket.php`)
- Tickets → Epics: belongs to (evidence: `app/Models/Ticket.php`)
- Tickets → Ticket comments: has comments (evidence: `app/Models/Ticket.php`)
- Tickets → Ticket history: records changes (evidence: `app/Models/Ticket.php`)
- Tickets → Users and roles: assigns users (evidence: `app/Models/Ticket.php`)
- Projects → Users and roles: has members (evidence: `app/Models/Project.php`)
- Team member → Timeline views: reviews schedule
- Team member → Team analytics: reviews contributions
- Ticket management → Ticket import/export: imports tickets (evidence: `app/Filament/Resources/Projects/RelationManagers/TicketsRelationManager.php`)
- Ticket import/export → Tickets: creates tickets (evidence: `app/Filament/Resources/Projects/RelationManagers/TicketsRelationManager.php`)
- Client → Client portal: views project
- Client portal → Projects: reads project data (evidence: `app/Livewire/ExternalDashboard.php`)
- Projects → External access: has external access (evidence: `app/Models/Project.php`)
- Team member → Google sign-in: signs in
- Google sign-in → Google OAuth: authenticates with (evidence: `app/Http/Controllers/Auth/GoogleController.php`)
- Google sign-in → Users and roles: finds or creates (evidence: `app/Http/Controllers/Auth/GoogleController.php`)
- Membership events → Assignment listeners: dispatches to (evidence: `app/Providers/EventServiceProvider.php`)
- Assignment listeners → Notification service: calls (evidence: `app/Listeners/SendProjectAssignmentNotification.php`)
- Notification service → Notifications: creates (evidence: `app/Services/NotificationService.php`)
- Notification service → Assignment email: sends assignment email (evidence: `app/Services/NotificationService.php`)
