Delivered remotely for a business based in Toronto, Canada. Names withheld by agreement.
Project Overview
Mixed-portfolio property operators face a structural split between financial lease administration and daily building operations. Leasing teams track options, renewal windows, and tenant improvement allowances in spreadsheets, while building superintendents coordinate repairs over email and text threads. Meanwhile, property accountants spend weeks reconciling Common Area Maintenance (CAM) recoveries and pro-rata utility splits across disparate general ledgers.
We architected and delivered a unified PropTech lease and tenant operations platform using Laravel, Vue, and PostgreSQL. The system treats the executed lease as the canonical source of truth that drives automated billing schedules, CPI and fixed-step escalations, tenant portal permissions, and vendor maintenance workflows within a single multi-portfolio environment.
Operational Bottlenecks
Prior to consolidation, property teams dealt with fragile handoffs across every stage of the tenancy lifecycle:
- Disconnected Rent Rolls and Ledgers: Lease amendments entered by leasing coordinators rarely propagated cleanly to billing schedules, resulting in missed step-ups, misapplied parking fees, and manual credit memos.
- Opaque CAM and Utility Reconciliations: Commercial triple-net leases with bespoke expense caps, gross-up clauses, and management fee exclusions forced accountants into error-prone year-end spreadsheet models.
- Unstructured Maintenance Triage: Tenants lacked a single intake channel with unit-level asset history, leaving superintendents unable to distinguish warranty-covered equipment failures from routine repairs or track vendor insurance compliance.
- Cross-Portfolio Reporting Friction: Asset managers overseeing multiple ownership syndicates could not inspect real-time delinquency aging, upcoming lease expirations, or net operating cash flow without waiting for month-end exports.
Architectural Strategy
We structured the application around clear domain boundaries inside Laravel—separating Leasing, Ledger Accounting, Maintenance Operations, and Document Governance—while exposing a unified JSON API to a Vue 3 TypeScript client. Rather than embedding brittle financial state inside mutable status flags, all monetary events flow through an immutable double-entry subledger in PostgreSQL.
Asynchronous workloads such as first-of-month rent generation, PAD/EFT settlement polling, and annual CAM true-up calculations run through Laravel Horizon workers. Each job executes idempotently against deterministic billing keys so retries after transient payment gateway timeouts never produce duplicate tenant charges.
Core Capabilities
Lease Lifecycle & Clause Engine
Leasing coordinators model residential, retail, and office agreements with configurable charge codes, security deposit rules, renewal notice windows, and stepped or CPI-indexed escalations. When an amendment or holdover extension is approved, the engine versions the active term and recalculates future unbilled schedule rows automatically.
Double-Entry Rent & CAM Subledger
Every recurring charge, late fee, prepayment credit, and bank settlement writes balanced debit and credit lines tied to chart-of-accounts mappings. Commercial CAM pools allocate shared operating expenses across rentable square footage using configurable pro-rata denominators, base-year stops, and annual cap ceilings.
Tenant Self-Service & Payment Portal
Commercial and residential tenants log into a branded Vue portal to inspect itemized statements, configure recurring pre-authorized bank debits or card payments via Stripe Connect, download tax receipts, and submit maintenance requests annotated with photos and access instructions.
Maintenance Triage & Vendor Compliance
Incoming work orders route automatically based on building, asset category, and urgency. Before dispatching an external trade contractor, the workflow verifies that a current Certificate of Insurance and WSIB clearance document are on file, blocking assignment to expired vendors and alerting operations managers.
Technical Architecture
Flow: Vue 3 SPA -> Laravel API Gateway & Policy Layer -> Domain Services -> PostgreSQL Ledger & RLS -> Redis / Horizon Workers -> Stripe Connect & S3
- Client Workspace: The Vue 3 application uses TypeScript, Pinia stores, and virtualized tables to render multi-thousand-unit rent rolls without browser lag, paired with optimistic UI updates for maintenance triage boards.
- Domain & Authorization Layer: Laravel Form Requests validate payloads structurally, while Policies verify portfolio ownership, building-level permissions, and lease role scope before any domain service executes.
- Database Integrity: PostgreSQL 16 stores hierarchical property-building-unit trees, JSONB lease metadata schemas for custom commercial clauses, and
daterangeexclusion constraints preventing overlapping active occupancies on the same unit. - Event-Driven Side Effects: Domain events (such as
LeaseExecuted,PaymentSettled, orWorkOrderCompleted) dispatch queued notifications, regenerate PDF ledger statements, and push live state updates over Laravel Reverb WebSockets.
Technology Stack
| Category | Technology Detail |
|---|---|
| Operations Frontend | Vue 3 with TypeScript, Pinia state stores, and virtualized rent-roll grids |
| Application Backend | Laravel 11 modular domain services with versioned REST APIs and policy authorization |
| Relational & Ledger DB | PostgreSQL 16 with row-level security, exclusion constraints, and append-only ledger tables |
| Async Processing | Laravel Horizon and Redis queues for monthly billing runs, PDF statements, and webhooks |
| Payment Rails | Stripe Connect supporting PAD/EFT bank debits, card payments, and split owner payouts |
| Search & Filtering | PostgreSQL GIN trigram indexes for instant unit, lease clause, and vendor lookup |
| Document Vault | Amazon S3 with presigned URLs and SHA-256 checksums for executed leases and COIs |
| Real-Time Updates | Laravel Reverb WebSockets broadcasting work-order status shifts and payment settlements |
| Observability | OpenTelemetry traces, structured audit logs, and queue latency alerting |
Engineering Trade-offs & Solutions
| Architectural Challenge | Engineering Resolution |
|---|---|
| Preventing concurrent lease overlap on high-velocity units | Implemented PostgreSQL daterange columns with a GiST exclusion constraint per unit_id so overlapping active leases fail atomically at commit time. |
| Ensuring idempotent first-of-month rent batching at scale | Assigned deterministic composite idempotency keys (lease_id:charge_code:billing_period) enforced via unique database indexes across Horizon workers. |
| Balancing strict financial immutability with operator corrections | Disallowed UPDATE or DELETE on posted journal lines; corrections require reversal entries linked to the original transaction ID and reason code. |
| Rendering dense commercial CAM worksheets smoothly in the browser | Offloaded multi-pool allocation math to PostgreSQL CTEs and streamed summarized line-item projections to virtualized Vue data grids. |
Security & Reliability
Portfolio segregation is enforced in depth. Beyond Laravel middleware and policy checks, every database session binds the authenticated organization context into PostgreSQL Row-Level Security policies, preventing cross-portfolio leakage even in complex analytical queries. Sensitive tenant banking tokens remain isolated inside Stripe Connect, while executed leases and identity documents reside in encrypted Amazon S3 buckets served strictly through short-lived presigned URLs.
All financial mutations, permission changes, and lease term overrides record immutable audit trails capturing actor identity, source IP, timestamp, and before/after state diffs. Automated nightly verification jobs cross-check subledger trial balances against settled gateway payouts to surface discrepancies immediately.
Performance & Scale
Monthly billing spikes create predictable burst workloads across rent generation, invoice PDF rendering, and payment initiation. Partitioning queued work across dedicated Horizon supervisor pools keeps interactive web requests responsive while thousands of billing jobs drain in parallel. Composite B-tree indexes on (organization_id, property_id, status, due_date) keep aging reports and vacancy dashboards sub-second, while PostgreSQL GIN trigram indexes power instant search across unit numbers, tenant names, and work-order notes without maintaining a separate search cluster.
Operational Outcomes
Consolidating leasing, accounting, and building maintenance onto one platform eliminated the manual month-end reconciliation cycle between leasing trackers and rent ledgers. Property accountants close monthly books with verifiable double-entry audit trails, leasing teams gain immediate visibility into upcoming expirations and escalation triggers, and building superintendents resolve tenant work orders within a single accountable workflow.