HomeCase studiesMulti-Portfolio PropTech Lease Lifecycle and Tenant Operations...

Case study · Toronto, Canada

Multi-Portfolio PropTech Lease Lifecycle and Tenant Operations Platform Built with Laravel, Vue, and PostgreSQL

Commercial & Residential Property Operations

Property operators managing mixed commercial and multifamily portfolios often stitch together spreadsheet rent rolls, disconnected work-order inboxes, and rigid accounting exports that break during annual CAM reconciliations. We engineered a unified PropTech lease and tenant operations platform backed by Laravel domain services, a Vue single-page workspace, and a double-entry PostgreSQL ledger. The system automates recurring rent schedules, index-linked escalations, vendor dispatch routing, and tenant self-service portals under strict portfolio isolation.

Industry
Commercial & Residential Property Operations
Solution
A multi-tenant lease lifecycle, double-entry rent ledger, and maintenance operations platform built on Laravel, Vue, and PostgreSQL.
Platforms
Web & API
Stack
Laravel · Vue · PostgreSQL · Redis · Laravel Horizon · TypeScript
Location
Toronto, Canada · delivered remotely
Role
Engineering, with the team behind for mobile and QA

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

  1. 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.
  2. 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.
  3. Database Integrity: PostgreSQL 16 stores hierarchical property-building-unit trees, JSONB lease metadata schemas for custom commercial clauses, and daterange exclusion constraints preventing overlapping active occupancies on the same unit.
  4. Event-Driven Side Effects: Domain events (such as LeaseExecuted, PaymentSettled, or WorkOrderCompleted) 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.

01 — Questions

asked about this kind of project

How does the platform prevent double-booking a unit or overlapping lease terms?

PostgreSQL range types (`daterange`) combined with a GiST exclusion constraint (`EXCLUDE USING gist`) enforce non-overlapping active lease periods per unit directly inside the database. Even under concurrent lease execution requests, the database rejects conflicting date intervals rather than relying solely on application-level checks.

Why build an append-only ledger instead of mutating invoice balance columns?

Rent adjustments, NSF reversals, partial payments, and CAM true-ups require complete financial traceability for external audits. Storing immutable debit and credit journal entries in PostgreSQL lets accountants trace every dollar to its originating lease clause or bank settlement while deriving balances from verifiable sums.

How is data isolated across competing property owners managed on the same deployment?

Every portfolio-scoped table carries an ownership organization key enforced through both Laravel global query scopes and PostgreSQL Row-Level Security policies bound per transaction. Background Horizon jobs explicitly set the session tenant context before running billing or reconciliation routines.

How are CPI escalations and stepped rent schedules calculated without rounding drift?

Monetary amounts are stored as integer minor units (cents) paired with explicit currency codes, and escalation formulas execute via fixed-point BCMath arithmetic. Preview runs generate deterministic schedule snapshots that asset managers approve before invoices post to the ledger.

How does vendor dispatch work when multiple properties share preferred contractors?

Work orders evaluate property service categories, active Certificate of Insurance (COI) expiry dates, and SLA response tiers before issuing tokenized dispatch links. Vendors accept jobs, upload completion photos, and submit invoices through scoped portal views without requiring full tenant directory access.

03 — Similar project?

describe what is different about yours

Build yours.

Tell me what exists, what you need and the deadline. Fixed price for a defined scope, or $55/day (8–9 hours work) with a written plan first.

Solitaire Corporate Park, Makarba, Ahmedabad, Gujarat 380015, India · IST (UTC+5:30) · --:-- IST · Mon–Fri 09:00–18:00 IST · US & EU overlap daily

No newsletter, no CRM. Just a reply.