Delivered remotely for a business based in Toronto, Canada. Names withheld by agreement.
Project Overview
Material-handling fleets—electric forklifts, reach trucks, order pickers, and aerial lifts—keep distribution centers moving, yet the service ecosystems surrounding them often run on disconnected spreadsheets and paper clipboards. A missed pre-shift safety check or a delayed replacement hydraulic hose does more than slow down a warehouse aisle; it creates regulatory liability and unscheduled downtime across rental fleets.
We engineered an integrated fleet inspection, service dispatch, and parts platform built on Laravel, PHP, Blade, jQuery, Bootstrap, MySQL, PostgreSQL, and Kotlin. The system links warehouse operators on the floor directly to dealership service writers, parts counters, and fleet supervisors, turning daily safety checks into actionable maintenance and inventory workflows.
Business Bottleneck
Dealerships servicing industrial fleets juggle three interlocking pressures: regulatory pre-shift inspections that must be auditable on demand, field technicians who need accurate machine histories before rolling a service van, and parts teams fulfilling urgent requests across leased and customer-owned equipment.
Paper checklist booklets tucked into forklift clipboards routinely vanished or piled up unread in supervisor trays. Critical defects went unreported until a breakdown halted a shift, forcing service coordinators to field frantic phone calls without knowing the machine's model variant, hour meter reading, or previous repair notes.
Architectural Strategy
The architecture bridges physical warehouse equipment and dealership back-office workflows through three deliberate choices:
- Right-sized dual persistence. Laravel routes transactional customer, rental, and parts records to MySQL while writing dynamic, high-frequency inspection payloads and compliance logs into PostgreSQL
JSONBstructures. - Ruggedized mobile capture paired with fast desktop triage. Warehouse and field personnel use native Kotlin on Android (alongside iOS client access) for fast barcode/QR scanning and offline inspection caching, while dealer dispatchers manage dense service queues inside a responsive Blade, Bootstrap, and jQuery web console.
- Event-driven escalation. A failed safety check is not merely archived—it triggers automated unit lockout flags, supervisor notifications, and pre-populated repair tickets.
Core Capabilities
Pre-Shift Safety & Compliance Inspections
- Asset Tag Scanning: Operators scan QR or serial plates on trucks with Kotlin mobile devices to load equipment-specific checklists aligned to machine class and fuel type.
- Automated Lockout Workflows: Critical safety failures immediately flag the asset out of service, notify site safety leads, and block routine sign-off until cleared by a technician.
- Immutable Audit Trails: Every submission captures operator identity, device timestamp, hour-meter reading, photo evidence, and the exact checklist schema version.
Service Dispatch & Field Repair
- Triage & Work-Order Board: Service coordinators view incoming defect alerts alongside scheduled preventative maintenance intervals in a filterable Bootstrap/jQuery dispatch console.
- Mobile Technician Context: Field mechanics review prior inspections, warranty status, and schematic notes on-site before logging labor hours and parts consumed.
Parts Requisition & Rental Fleet Lifecycle
- Linked Parts Ordering: Technicians and fleet managers request replacement parts tied directly to a unit's serial number and bill-of-materials profile, reducing wrong-part dispatches.
- Rental Readiness Tracking: Rental departments verify return inspections, damage chargebacks, and PM compliance before releasing units to the next warehouse contract.
Technical Architecture
Laravel acts as the central orchestration tier, exposing versioned REST APIs for mobile clients while rendering administrative and dealer dispatch interfaces through Blade templates styled with Bootstrap and enhanced with jQuery AJAX components. Role and tenant policies govern visibility across multi-site warehouse customers and multi-branch dealership teams.
Data storage splits intentionally across two relational engines managed via separate Laravel database connections. MySQL stores highly structured commercial entities—accounts, contracts, parts SKUs, and invoices—while PostgreSQL captures semi-structured inspection responses in JSONB columns, supporting fast compliance queries without locking transactional tables. Asynchronous Laravel queue workers bridge the two engines and handle PDF certificate generation and notification delivery.
Flow: Kotlin Android & iOS Clients (Local Draft Cache) & Blade/Bootstrap/jQuery Portal → Laravel PHP API & Queue Workers → MySQL (Commercial/Parts/Service) + PostgreSQL (JSONB Inspections & Audit Logs).
Technology Stack
| Category | Technology |
|---|---|
| Core Web Framework | Laravel (PHP) powering REST APIs, queued jobs, and role-scoped authorization |
| Back-Office UI | Server-rendered Blade templates styled with Bootstrap and enhanced with jQuery |
| Transactional Store | MySQL for dealer customers, parts catalogs, rental contracts, and service work orders |
| Inspection & Telemetry Store | PostgreSQL with JSONB checklist schemas and append-only compliance audit tables |
| Android Field Client | Native Kotlin app with camera defect capture, QR/NFC tag scanning, and local draft caching |
| iOS Operator Access | Mobile web and native iOS wrapper endpoints sharing unified Laravel API contracts |
| Async Job Processing | Laravel queues dispatching lockout alerts, PM schedule reminders, and PDF certificates |
| Interactive Tables | jQuery DataTables and AJAX modal drawers for rapid service board triage |
| Asset Identification | QR code and serial-number asset tags linking physical units to digital service histories |
| Compliance Reporting | Versioned inspection templates mapped to regulatory safety categories and lockout flags |
Engineering Trade-offs & Solutions
| Challenge | Architectural Solution |
|---|---|
| Inspection checklists vary widely across electric pallet jacks, reach trucks, and LPG forklifts | Stored checklist answers in PostgreSQL JSONB keyed to versioned template definitions, enabling arbitrary equipment-specific questions without constant relational schema migrations while keeping GIN-indexed queryability. |
| Cross-database updates between PostgreSQL inspections and MySQL work orders risked partial writes | Adopted an outbox/queued-job pattern in Laravel: the PostgreSQL inspection commits atomically with an event UUID, and idempotent queue workers synchronize unit lockout flags and draft repair tickets into MySQL with automatic retries. |
| Warehouse steel racking creates wireless dead zones during shift start | Built local persistence in the Kotlin Android client for assigned equipment lists and checklist templates, syncing completed inspections and defect images silently once Wi-Fi returns. |
| Dispatchers needed rapid filtering across thousands of active fleet units and open tickets | Combined server-side pagination in Laravel with jQuery DataTables and cached unit-summary projections so dispatch boards stay snappy without loading full fleet histories in browser memory. |
| Multiple operators sharing a single warehouse tablet risked misattributed safety sign-offs | Implemented fast PIN/badge operator switching inside the Kotlin session layer so each pre-shift inspection binds accurately to the individual operator without requiring full credential re-entry every ten minutes. |
Security & Reliability
Industrial fleet portals host sensitive multi-customer operational data alongside safety records subject to regulatory scrutiny. Laravel middleware enforces strict tenant and branch scoping on every endpoint so warehouse managers view only their contracted sites, while dealer staff access assigned regional territories.
Inspection submissions are append-only in PostgreSQL: supervisors can append corrective clearance notes, but historical failed responses and timestamps cannot be silently edited. Mobile API authentication uses revocable token pairs with TLS transport pinning options for managed enterprise fleets, and Laravel queue workers monitor failed jobs through dead-letter alerting so no critical safety lockout notification goes undelivered.
Performance & Scale
Peak system load hits predictably at warehouse shift changes when hundreds of operators run pre-shift checks simultaneously. Separating write-heavy inspection ingestion onto PostgreSQL isolates transactional parts and billing queries on MySQL from bursty morning traffic.
On the mobile client, compressing defect photographs on-device before upload minimizes warehouse Wi-Fi saturation. On the web portal, eager-loaded Eloquent relations, indexed PostgreSQL JSONB paths, and partial Blade/jQuery refreshes prevent redundant full-page renders during busy dispatch hours.
Operational Outcomes
Connecting shop-floor operators directly to dealer service and parts desks closed the feedback loop that previously allowed minor mechanical faults to escalate into full equipment breakdowns. Supervisors gained immediate, searchable visibility into fleet compliance across every shift and facility without chasing paper binders.
For the dealership, technicians arrive on-site with accurate diagnostic photos, hour-meter trends, and matched replacement parts already staged, turning reactive emergency calls into predictable, well-documented service workflows across sales, rental, and parts departments.