# chrisca068/propertypro-platform architecture

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

- Interactive diagram: https://gitdiagram.com/chrisca068/propertypro-platform
- Repository: https://github.com/chrisca068/propertypro-platform

## Overview

PropertyPro is a real-estate investment and property-management platform with partner listing imports, investor payments and ownership, and operational administration. The visible workflow runs from property discovery and enquiry through investment and payment, with dashboards summarizing investor and administrator activity. Partner feed ingestion is a separate supply-side path that validates listings and applies them as properties. The source index documents some controller-to-service dependencies; other domain capabilities are represented from the tree, so their internal links are omitted where implementation was not sampled.

Main entry points: [`application/app/Http/Controllers/DashboardController.php`](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Http/Controllers/DashboardController.php) (Role dashboards), [`application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php`](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php) (Feed ingestion), [`application/app/Domains/Investment/Models/Investment.php`](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Investment/Models/Investment.php) (Investment orders), [`application/app/Domains/Auth/Services/MultiStageRegistrationService.php`](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Auth/Services/MultiStageRegistrationService.php) (Registration and KYC)

## Diagram (Mermaid)

```mermaid
flowchart TD

subgraph group_access["Access and oversight"]
  node_user["User accounts<br/>[User.php]"]
  node_registration["Registration and KYC"]
  node_kyc[("KYC review<br/>[KycProfile.php]")]
  node_agent[("Agent operations<br/>[AgentProfile.php]")]
  node_audit[("Audit records<br/>[AuditLog.php]")]
  node_dashboard["Role dashboards"]
end

subgraph group_supply["Property supply"]
  node_property[("Property catalog<br/>[Property.php]")]
  node_discovery["Discovery and enquiries"]
  node_geography["Geography validation"]
  node_ownership[("Legal ownership")]
end

subgraph group_investment["Investment and finance"]
  node_investment[("Investment orders<br/>[Investment.php]")]
  node_payment[("Payments<br/>[Payment.php]")]
  node_ledger["Financial ledger<br/>[LedgerService.php]"]
  node_commission[("Referral commissions<br/>[Commission.php]")]
  node_rental["Rental distributions"]
  node_withdrawal["Withdrawals"]
end

subgraph group_partner["Partner integrations"]
  node_partner["Partner workspace"]
  node_feed["Feed ingestion"]
  node_import[("Feed import records")]
end

node_visitor(("Property seeker"))
node_investor(("Investor"))
node_partneruser(("Partner user"))

node_visitor -->|"browses"| node_discovery
node_discovery -->|"queries"| node_property
node_discovery -.->|"uses"| node_geography
node_investor -->|"registers"| node_registration
node_registration -.->|"creates"| node_user
node_registration -->|"checks requirements"| node_kyc
node_investor -.->|"invests"| node_investment
node_investment -->|"references"| node_property
node_investment -->|"has payments"| node_payment
node_investment -->|"references"| node_ownership
node_dashboard -->|"reads"| node_investment
node_dashboard -->|"summarizes"| node_commission
node_dashboard -->|"reads balances"| node_ledger
node_dashboard -->|"shows settlements"| node_rental
node_dashboard -->|"reads logs"| node_audit
node_dashboard -->|"summarizes"| node_agent
node_dashboard -->|"summarizes"| node_kyc
node_partneruser -->|"manages feeds"| node_partner
node_partner -->|"submits items"| node_feed
node_feed -->|"validates locations"| node_geography
node_feed -->|"creates or updates"| node_property
node_feed -->|"records results"| node_import
node_feed -->|"writes audit"| node_audit

click node_user "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Models/User.php"
click node_registration "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Auth/Services/MultiStageRegistrationService.php"
click node_kyc "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/KYC/Models/KycProfile.php"
click node_agent "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Agent/Models/AgentProfile.php"
click node_audit "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Audit/Models/AuditLog.php"
click node_dashboard "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Http/Controllers/DashboardController.php"
click node_property "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Property/Models/Property.php"
click node_discovery "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Property/Services/PropertyDiscoveryService.php"
click node_geography "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Geography/Services/GeographyConsistencyValidator.php"
click node_ownership "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/LegalOwnership/Models/PropertyOwnershipRecord.php"
click node_investment "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Investment/Models/Investment.php"
click node_payment "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Payment/Models/Payment.php"
click node_ledger "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Financial/Services/LedgerService.php"
click node_commission "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Commission/Models/Commission.php"
click node_rental "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/RentalYield/Actions/ApproveAndExecuteRentalDistributionAction.php"
click node_withdrawal "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Withdrawal/Actions/RequestWithdrawalAction.php"
click node_partner "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Http/Controllers/Partner/PartnerPortalController.php"
click node_feed "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php"
click node_import "https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Partner/Models/PartnerListingImport.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_user,node_registration,node_kyc,node_agent,node_audit,node_dashboard,node_partneruser toneBlue
class node_property,node_discovery,node_geography,node_ownership toneAmber
class node_investment,node_payment,node_ledger,node_commission,node_rental,node_withdrawal toneMint
class node_partner,node_feed,node_import toneRose
class node_visitor,node_investor toneIndigo
```

## Components

### Access and oversight

- [User accounts](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Models/User.php): `application/app/Models/User.php`
- [Registration and KYC](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Auth/Services/MultiStageRegistrationService.php): `application/app/Domains/Auth/Services/MultiStageRegistrationService.php`
- [KYC review](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/KYC/Models/KycProfile.php): `application/app/Domains/KYC/Models/KycProfile.php`
- [Agent operations](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Agent/Models/AgentProfile.php): `application/app/Domains/Agent/Models/AgentProfile.php`
- [Audit records](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Audit/Models/AuditLog.php): `application/app/Domains/Audit/Models/AuditLog.php`
- [Role dashboards](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Http/Controllers/DashboardController.php): `application/app/Http/Controllers/DashboardController.php`

### Property supply

- [Property catalog](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Property/Models/Property.php): `application/app/Domains/Property/Models/Property.php`
- [Discovery and enquiries](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Property/Services/PropertyDiscoveryService.php): `application/app/Domains/Property/Services/PropertyDiscoveryService.php`
- [Geography validation](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Geography/Services/GeographyConsistencyValidator.php): `application/app/Domains/Geography/Services/GeographyConsistencyValidator.php`
- [Legal ownership](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/LegalOwnership/Models/PropertyOwnershipRecord.php): `application/app/Domains/LegalOwnership/Models/PropertyOwnershipRecord.php`

### Investment and finance

- [Investment orders](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Investment/Models/Investment.php): `application/app/Domains/Investment/Models/Investment.php`
- [Payments](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Payment/Models/Payment.php): `application/app/Domains/Payment/Models/Payment.php`
- [Financial ledger](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Financial/Services/LedgerService.php): `application/app/Domains/Financial/Services/LedgerService.php`
- [Referral commissions](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Commission/Models/Commission.php): `application/app/Domains/Commission/Models/Commission.php`
- [Rental distributions](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/RentalYield/Actions/ApproveAndExecuteRentalDistributionAction.php): `application/app/Domains/RentalYield/Actions/ApproveAndExecuteRentalDistributionAction.php`
- [Withdrawals](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Withdrawal/Actions/RequestWithdrawalAction.php): `application/app/Domains/Withdrawal/Actions/RequestWithdrawalAction.php`

### Partner integrations

- [Partner workspace](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Http/Controllers/Partner/PartnerPortalController.php): `application/app/Http/Controllers/Partner/PartnerPortalController.php`
- [Feed ingestion](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php): `application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php`
- [Feed import records](https://github.com/chrisca068/propertypro-platform/blob/main/application/app/Domains/Partner/Models/PartnerListingImport.php): `application/app/Domains/Partner/Models/PartnerListingImport.php`

### Other components

- **Property seeker**
- **Investor**
- **Partner user**

## Connections

- Property seeker → Discovery and enquiries: browses
- Discovery and enquiries → Property catalog: queries (evidence: `application/app/Http/Controllers/Property/PropertyDiscoveryController.php`)
- Discovery and enquiries → Geography validation: uses
- Investor → Registration and KYC: registers
- Registration and KYC → User accounts: creates
- Registration and KYC → KYC review: checks requirements
- Investor → Investment orders: invests
- Investment orders → Property catalog: references (evidence: `application/app/Domains/Investment/Models/Investment.php`)
- Investment orders → Payments: has payments (evidence: `application/app/Domains/Investment/Models/Investment.php`)
- Investment orders → Legal ownership: references (evidence: `application/app/Domains/Investment/Models/Investment.php`)
- Role dashboards → Investment orders: reads (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Role dashboards → Referral commissions: summarizes (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Role dashboards → Financial ledger: reads balances (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Role dashboards → Rental distributions: shows settlements (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Role dashboards → Audit records: reads logs (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Role dashboards → Agent operations: summarizes (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Role dashboards → KYC review: summarizes (evidence: `application/app/Http/Controllers/DashboardController.php`)
- Partner user → Partner workspace: manages feeds (evidence: `application/app/Http/Controllers/Partner/PartnerPortalController.php`)
- Partner workspace → Feed ingestion: submits items (evidence: `application/app/Http/Controllers/Partner/PartnerPortalController.php`)
- Feed ingestion → Geography validation: validates locations (evidence: `application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php`)
- Feed ingestion → Property catalog: creates or updates (evidence: `application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php`)
- Feed ingestion → Feed import records: records results (evidence: `application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php`)
- Feed ingestion → Audit records: writes audit (evidence: `application/app/Domains/Partner/Services/PartnerListingFeedIngestionService.php`)
