Home / Work / GPS Attendance & Staff Management
Security services · Case study

Geofenced attendance for a field workforce.

A build for a security services company: field staff check in and out from a mobile app only inside their office's geofence, and admins run offices, rules, corrections, leave and reports from a web panel.

Last updated December 2026

Flutter mobile app
Laravel 13 REST API (OpenAPI) + Blade admin
MySQL

The problem

A security services company has staff working in the field, spread across several offices. Attendance has to be real: a guard should only be able to check in when they are actually at their post. Supervisors also need a way to fix mistakes, approve leave and apply the company's rules without chasing paper sheets or messages.

The company needed attendance for field staff across several offices that could be verified on site, with corrections, leave and rules managed in one admin panel.

What is being built

This build has three parts: a web admin, a REST API, and a Flutter mobile app for staff.

Offices with geofences. Each office is drawn on a map with a radius, its own timing and a grace period. A check-in only counts inside that circle, and the timing rules can differ by office.

GPS check-in and check-out. In the mobile app, staff check in and out inside the geofence. The app walks through a locating, verifying and success sequence, so the person knows whether the check-in was accepted.

Fake-GPS detection. Mock-location apps are a known way to cheat GPS attendance. The app detects mock locations and rejects those check-ins.

Corrections with approval. People forget to check out, and phones die. Staff raise a correction request from the app, and an admin approves or rejects it, within a configurable correction window.

Leave, balances and holidays. Leave requests and balances live in the same system, alongside the holiday calendar.

Attendance rules. Late thresholds, half-day hours and the correction window are settings, not code changes.

Admin panel. Employees (with CSV import and side-drawer editing), attendance records and history, users, roles and permissions, an audit log, reports, a dashboard, and backup and restore. Forms open in modals and save without page reloads, with skeleton loaders and empty states, and the panel works on desktop and mobile.

Staff app. Attendance history and a calendar with a day detail view, correction requests, leave and balances, profile and password, a demo mode, and friendly error and empty states.

Stack

  • Backend and admin: Laravel 13 on PHP 8.5, Blade, MySQL, Vite.
  • Permissions: Spatie Permissions for users, roles and permissions.
  • API: REST, documented in OpenAPI, used by the mobile app.
  • Mobile: Flutter.
  • Quality: Pest tests, with GitHub Actions running Pint and Larastan.

The API is documented in OpenAPI so the mobile app and the backend agree on one contract, and the CI checks run on every change.

Work with me

Need a Laravel backend, an API for a mobile app, or an admin panel for field operations? Hire a Laravel developer or see API integration developer.

My role

Laravel backend, REST API and web admin panel.