# arjindersingh/pms architecture

> Architecture diagram of the GitHub repository arjindersingh/pms, 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/arjindersingh/pms
- Repository: https://github.com/arjindersingh/pms

## Overview

This is a Laravel recruitment and talent portal serving administrators, recruiters, and job seekers. Users register and enter category-specific dashboards; talent maintain profiles and job-search criteria, recruiters manage organizations and vacancies, and matching supports discovery. Administration covers account review, access control, shared data, subscriptions, and payments. The source excerpts support selected controller-to-service and controller-to-model relationships; broader route-to-controller links are documented by the route index. Several listed capabilities were not sampled, so their internal links are omitted.

Main entry points: [`routes/web.php`](https://github.com/arjindersingh/pms/blob/main/routes/web.php) (Web routes), [`app/Http/Controllers/RegistrationController.php`](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/RegistrationController.php) (Registration), [`app/Http/Controllers/Talent/CandidateProfileController.php`](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Talent/CandidateProfileController.php) (Candidate profiles), [`app/Http/Controllers/JobSearchProfileController.php`](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/JobSearchProfileController.php) (Job-search criteria)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_identity["Identity and access"]
  node_registration["Registration"]
  node_user[("User accounts<br/>[User.php]")]
  node_roles["Roles and permissions"]
end

subgraph group_talent["Talent and matching"]
  node_candidate["Candidate profiles"]
  node_jobsearch["Job-search criteria"]
  node_matching["Job matching"]
  node_profiledata[("Profile records")]
end

subgraph group_recruiting["Recruiting"]
  node_jobpostings["Job postings"]
  node_recruiterprofile["Recruiter profiles"]
  node_directory["Talent directory"]
end

subgraph group_admin["Administration and plans"]
  node_roleadmin["Role administration<br/>[RoleController.php]"]
  node_accountreview["Account review"]
  node_subscription["Talent subscriptions"]
  node_plans[("Subscription plans")]
  node_payments["Payment processing"]
  node_adminfeatures["Portal administration"]
end

subgraph group_platform["Portal foundation"]
  node_routes["Web routes<br/>[web.php]"]
  node_masters[("Shared master data<br/>[SharedMaster.php]")]
  node_dashboard["Role dashboards"]
  node_home["Public home<br/>[HomeController.php]"]
end

node_visitor(("Portal user"))

node_visitor -->|"requests pages"| node_routes
node_routes -->|"routes to"| node_registration
node_routes -->|"routes to"| node_candidate
node_routes -->|"routes to"| node_jobsearch
node_routes -->|"routes to"| node_jobpostings
node_routes -->|"routes to"| node_recruiterprofile
node_routes -->|"routes to"| node_directory
node_routes -->|"routes to"| node_subscription
node_routes -->|"routes to"| node_payments
node_routes -->|"routes to"| node_accountreview
node_routes -->|"routes to"| node_roleadmin
node_routes -->|"routes to"| node_adminfeatures
node_routes -->|"routes to"| node_dashboard
node_routes -->|"routes to"| node_home
node_registration -->|"creates account"| node_user
node_registration -->|"assigns role"| node_roles
node_roleadmin -->|"updates permissions"| node_roles
node_accountreview -->|"reviews accounts"| node_user
node_accountreview -->|"lists plans"| node_plans
node_candidate -->|"updates profile"| node_profiledata
node_candidate -->|"loads profile choices"| node_masters
node_jobsearch -->|"requests matches"| node_matching
node_jobsearch -->|"loads search choices"| node_masters
node_subscription -->|"loads plans"| node_plans
node_subscription -.->|"initiates payment"| node_payments
node_jobpostings -->|"uses organization"| node_recruiterprofile

click node_routes "https://github.com/arjindersingh/pms/blob/main/routes/web.php"
click node_registration "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/RegistrationController.php"
click node_user "https://github.com/arjindersingh/pms/blob/main/app/Models/User.php"
click node_roles "https://github.com/arjindersingh/pms/blob/main/app/Services/RolePermissionService.php"
click node_roleadmin "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Admin/RoleController.php"
click node_accountreview "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Admin/AccountReviewController.php"
click node_candidate "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Talent/CandidateProfileController.php"
click node_jobsearch "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/JobSearchProfileController.php"
click node_matching "https://github.com/arjindersingh/pms/blob/main/app/Services/JobMatchService.php"
click node_profiledata "https://github.com/arjindersingh/pms/blob/main/app/Models/CandidateProfile.php"
click node_jobpostings "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Recruiter/JobPostingController.php"
click node_recruiterprofile "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Recruiter/ProfileController.php"
click node_directory "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Recruiter/TalentDirectoryController.php"
click node_subscription "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Talent/SubscriptionController.php"
click node_plans "https://github.com/arjindersingh/pms/blob/main/app/Models/SubscriptionPlan.php"
click node_payments "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/PaymentWebhookController.php"
click node_masters "https://github.com/arjindersingh/pms/blob/main/app/Models/SharedMaster.php"
click node_dashboard "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/DashboardController.php"
click node_adminfeatures "https://github.com/arjindersingh/pms/tree/main/app/Http/Controllers/Admin"
click node_home "https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/HomeController.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_registration,node_user,node_roles,node_visitor toneBlue
class node_candidate,node_jobsearch,node_matching,node_profiledata toneAmber
class node_jobpostings,node_recruiterprofile,node_directory toneMint
class node_roleadmin,node_accountreview,node_subscription,node_plans,node_payments,node_adminfeatures toneRose
class node_routes,node_masters,node_dashboard,node_home toneIndigo
```

## Components

### Identity and access

- [Registration](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/RegistrationController.php): `app/Http/Controllers/RegistrationController.php`
- [User accounts](https://github.com/arjindersingh/pms/blob/main/app/Models/User.php): `app/Models/User.php`
- [Roles and permissions](https://github.com/arjindersingh/pms/blob/main/app/Services/RolePermissionService.php): `app/Services/RolePermissionService.php`

### Talent and matching

- [Candidate profiles](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Talent/CandidateProfileController.php): `app/Http/Controllers/Talent/CandidateProfileController.php`
- [Job-search criteria](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/JobSearchProfileController.php): `app/Http/Controllers/JobSearchProfileController.php`
- [Job matching](https://github.com/arjindersingh/pms/blob/main/app/Services/JobMatchService.php): `app/Services/JobMatchService.php`
- [Profile records](https://github.com/arjindersingh/pms/blob/main/app/Models/CandidateProfile.php): `app/Models/CandidateProfile.php`

### Recruiting

- [Job postings](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Recruiter/JobPostingController.php): `app/Http/Controllers/Recruiter/JobPostingController.php`
- [Recruiter profiles](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Recruiter/ProfileController.php): `app/Http/Controllers/Recruiter/ProfileController.php`
- [Talent directory](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Recruiter/TalentDirectoryController.php): `app/Http/Controllers/Recruiter/TalentDirectoryController.php`

### Administration and plans

- [Role administration](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Admin/RoleController.php): `app/Http/Controllers/Admin/RoleController.php`
- [Account review](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Admin/AccountReviewController.php): `app/Http/Controllers/Admin/AccountReviewController.php`
- [Talent subscriptions](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/Talent/SubscriptionController.php): `app/Http/Controllers/Talent/SubscriptionController.php`
- [Subscription plans](https://github.com/arjindersingh/pms/blob/main/app/Models/SubscriptionPlan.php): `app/Models/SubscriptionPlan.php`
- [Payment processing](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/PaymentWebhookController.php): `app/Http/Controllers/PaymentWebhookController.php`
- [Portal administration](https://github.com/arjindersingh/pms/tree/main/app/Http/Controllers/Admin): `app/Http/Controllers/Admin`

### Portal foundation

- [Web routes](https://github.com/arjindersingh/pms/blob/main/routes/web.php): `routes/web.php`
- [Shared master data](https://github.com/arjindersingh/pms/blob/main/app/Models/SharedMaster.php): `app/Models/SharedMaster.php`
- [Role dashboards](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/DashboardController.php): `app/Http/Controllers/DashboardController.php`
- [Public home](https://github.com/arjindersingh/pms/blob/main/app/Http/Controllers/HomeController.php): `app/Http/Controllers/HomeController.php`

### Other components

- **Portal user**

## Connections

- Portal user → Web routes: requests pages (evidence: `routes/web.php`)
- Web routes → Registration: routes to (evidence: `routes/web.php`)
- Web routes → Candidate profiles: routes to (evidence: `routes/web.php`)
- Web routes → Job-search criteria: routes to (evidence: `routes/web.php`)
- Web routes → Job postings: routes to (evidence: `routes/web.php`)
- Web routes → Recruiter profiles: routes to (evidence: `routes/web.php`)
- Web routes → Talent directory: routes to (evidence: `routes/web.php`)
- Web routes → Talent subscriptions: routes to (evidence: `routes/web.php`)
- Web routes → Payment processing: routes to (evidence: `routes/web.php`)
- Web routes → Account review: routes to (evidence: `routes/web.php`)
- Web routes → Role administration: routes to (evidence: `routes/web.php`)
- Web routes → Portal administration: routes to (evidence: `routes/web.php`)
- Web routes → Role dashboards: routes to (evidence: `routes/web.php`)
- Web routes → Public home: routes to (evidence: `routes/web.php`)
- Registration → User accounts: creates account (evidence: `app/Http/Controllers/RegistrationController.php`)
- Registration → Roles and permissions: assigns role (evidence: `app/Http/Controllers/RegistrationController.php`)
- Role administration → Roles and permissions: updates permissions (evidence: `app/Http/Controllers/Admin/RoleController.php`)
- Account review → User accounts: reviews accounts (evidence: `app/Http/Controllers/Admin/AccountReviewController.php`)
- Account review → Subscription plans: lists plans (evidence: `app/Http/Controllers/Admin/AccountReviewController.php`)
- Candidate profiles → Profile records: updates profile (evidence: `app/Http/Controllers/Talent/CandidateProfileController.php`)
- Candidate profiles → Shared master data: loads profile choices (evidence: `app/Http/Controllers/Talent/CandidateProfileController.php`)
- Job-search criteria → Job matching: requests matches (evidence: `app/Http/Controllers/JobSearchProfileController.php`)
- Job-search criteria → Shared master data: loads search choices (evidence: `app/Http/Controllers/JobSearchProfileController.php`)
- Talent subscriptions → Subscription plans: loads plans (evidence: `app/Http/Controllers/Talent/SubscriptionController.php`)
- Talent subscriptions → Payment processing: initiates payment
- Job postings → Recruiter profiles: uses organization (evidence: `app/Http/Controllers/Recruiter/JobPostingController.php`)
