Delivered remotely for a business based in Zurich, Switzerland. Names withheld by agreement.
Project Overview
Event venues, hospitality operators, warehouses, and facility teams depend on temporary shift workers to absorb sudden volume spikes. Yet traditional staffing agencies introduce heavy manual overhead, while naive gig apps break down over two trust failures: workers distrust platforms where invoices stall for weeks, and employers refuse automated billing when unverified workers can clock in from down the street or pad break times.
We engineered an on-demand staffing marketplace built around Swiss operational rigor in Zurich, pairing pre-funded escrow protection with supervisor-verified attendance. An Angular, TypeScript, and Bootstrap web console powers employer scheduling and back-office arbitration; Laravel and MySQL enforce matching, labor compliance, and double-entry escrow accounting; Blade drives structured onboarding and printable summaries; and native mobile clients anchored by Kotlin on Android handle on-site check-ins and supervisor sign-offs.
Workforce Verification & Escrow Friction
Temporary shift marketplaces routinely stumble on four structural failure points:
- Unverified attendance records: Relying solely on worker-submitted GPS pings invites location spoofing, missed break deductions, and contentious post-shift invoice disputes.
- Settlement race conditions: Releasing worker payouts before client funds clear—or deducting adjusted overtime from unreserved balances—creates negative ledger states and manual accounting fire drills.
- Complex labor rule variance: Night differentials, mandatory unpaid rest intervals, and cancellation penalties vary by industry sector and shift length, breaking simplistic hourly multiplication.
- High-density roster fatigue: Venue managers overseeing fifty simultaneous shift roles across multiple gates need scannable tables and bulk approvals rather than endless mobile cards.
Architectural Strategy
The architecture separates operational orchestration from authoritative financial accounting. All shift budgets, worker qualifications, timecard transitions, and wage calculations live inside Laravel backed by an append-only MySQL ledger. No mobile or web client ever calculates final payouts or alters escrow balances directly.
To eliminate timesheet ambiguity, attendance acts as a two-party handshake: workers check in via Kotlin or iOS companion apps using geofenced venue coordinates and rotating supervisor QR codes, while supervisors confirm actual start, break, and departure minutes before funds unlock. Angular with TypeScript and Bootstrap gives venue coordinators high-density visibility over live rosters, whereas Blade renders audit-ready compliance briefs and worker onboarding portals.
Core Capabilities
- Pre-Funded Shift Escrow: Employers reserve estimated shift totals plus platform fees when confirming candidates, assuring workers that committed wages sit safely in escrow prior to arrival.
- Supervisor Handshake Timecards: Dual-verified check-in, break tracking, and clock-out workflows require on-site supervisor confirmation or an explicit timed review window before payout release.
- Credential & Qualification Gating: Shifts filter eligible applicants automatically by verified work permits, safety certifications, language skills, and prior venue ratings.
- Bulk Roster & Dispute Console: Employer managers clone recurring shift templates, approve dozens of timesheets cleanly in Angular, and resolve flagged overtime variances with timestamped evidence.
- Automated Wage & Fee Splits: Settled shifts split net worker wages, statutory withholdings, and marketplace fees inside atomic ledger entries ready for banking disbursement.
Technical Architecture
Employers publish shifts in the Angular/TypeScript portal, reserving estimated funds inside MySQL escrow accounts via Laravel. Vetted workers accept open shifts on mobile, receiving calendar confirmations and venue briefs. On shift day, the Kotlin client verifies venue proximity and scans the supervisor's dynamic check-in code, recording an immutable arrival timestamp in MySQL. At shift end, supervisor adjustments and labor-rule calculations finalize payable minutes in Laravel, triggering escrow release jobs and Blade-formatted payout statements.
Flow: Shift Creation & Escrow Hold (Angular / TypeScript → Laravel + MySQL) → Worker Match & Arrival (Kotlin Geofence + Supervisor QR) → Verified Timecard State Machine → Atomic Escrow Split & Blade Compliance Statements
Treating every financial credit, hold, and release as an immutable ledger entry ensures balances reconcile to the cent even when shifts cancel late or run overtime.
Technology Stack
| Category | Technology detail |
|---|---|
| Core Marketplace & Ledger | Laravel (PHP 8.x shift matching, escrow state machine, payroll compliance rules) |
| Employer & Ops Portal | Angular & TypeScript SPA styled with Bootstrap for shift rosters and timesheet approvals |
| Onboarding & Compliance Views | Laravel Blade for worker document portals, public shift briefs, and printable summaries |
| Android Mobile Client | Kotlin app for shift discovery, geofenced QR check-in, and supervisor sign-off |
| iOS Companion Client | Mobile shift companion sharing unified Laravel REST contracts for worker check-ins |
| Authoritative Ledger DB | MySQL storing shift contracts, immutable timecard events, and double-entry escrow records |
| UI Design System | Bootstrap responsive grid and component primitives tailored for multi-shift dashboards |
| Background Job Workers | Laravel Queues for shift reminders, auto-approval windows, and batch payout releases |
Engineering Trade-offs & Solutions
| Engineering Challenge | Solution & Trade-off |
|---|---|
| Guaranteeing accurate balances during concurrent timesheet approvals and cancellations | Implemented a double-entry MySQL ledger with pessimistic row locking on employer escrow wallets, trading write serialization for zero negative-balance anomalies. |
| Preventing clock-in spoofing without expensive physical hardware terminals | Paired Kotlin client geofencing with cryptographically signed, short-lived QR codes generated on the supervisor's app, balancing strong on-site proof against zero venue hardware cost. |
| Managing complex Angular roster forms without runtime type regressions | Enforced shared TypeScript interfaces matching Laravel API DTO contracts across scheduling, wage previews, and dispute workflows, investing upfront typing effort to prevent billing UI bugs. |
| Handling late supervisor sign-offs so workers aren't left unpaid indefinitely | Built configurable auto-approval deadlines in Laravel Queues that notify supervisors repeatedly before settling uncontested scheduled hours automatically. |
Security & Reliability
Workforce marketplaces handle sensitive identity documents, bank payout details, and legally binding time records. Laravel enforces role-based access control distinguishing platform administrators, employer payroll managers, site supervisors, and workers—ensuring supervisors verify hours only for venues and shifts explicitly assigned to them.
Work-permit files and identity checks collected through Blade onboarding portals sit in private encrypted storage accessed strictly via expiring signed URLs during compliance audits. All escrow release endpoints enforce idempotency keys and database transactions so retry storms or network timeouts never duplicate wage disbursements.
Performance & Scale
Major conferences, stadium events, and seasonal warehouse peaks trigger synchronized check-in waves right at the top of the hour. Stateless Laravel API nodes handle bursty mobile QR validations while narrow MySQL composite indexes keep active-shift lookups sub-millisecond.
Angular operations dashboards load virtualized roster views and server-filtered Bootstrap tables so coordinators monitor large active shift pools smoothly. Heavy tasks—such as multi-shift PDF billing packets, statutory withholding summaries, and banking payout batches—run asynchronously on Laravel queues outside interactive request paths.
Operational Outcomes
Combining pre-funded escrow guarantees with supervised mobile verification aligned incentives across every participant in the staffing lifecycle:
- Eliminated post-shift billing friction: Dual-verified check-in and supervisor sign-off anchor every invoice to agreed timestamps rather than disputed estimates.
- Assured worker payout certainty: Pre-shift escrow holds give reliable shift talent confidence that completed hours settle promptly without chasing overdue employer invoices.
- Transparent labor compliance: Versioned server-side calculation rules enforce breaks, overtime thresholds, and printable records uniformly across jurisdictions.
- High-clarity venue coordination: Angular and Bootstrap consoles let supervisors manage dense multi-role rosters cleanly from desktop or tablet on-site.