Skip to main content

Geofence System

This module will allow you to create, edit, delete and view geofences. Define virtual boundaries around physical locations to validate employee attendance and trigger location-based alerts.

Features

  • Geofence Creation - Create circular or polygon-shaped geofences
  • Location-based Attendance Validation - Verify employees are within designated areas
  • Geofence Alerts - Receive notifications when employees enter or exit geofences

Requirements

  • Open Core Business Suite (Base System)
  • GPS-enabled devices for location tracking
  • Mobile app with location permissions

Installation

  1. Purchase and download the Geofence System module
  2. Extract the module to Modules/GeofenceSystem
  3. Run the installation command:
php artisan module:enable GeofenceSystem
php artisan migrate
  1. Configure the module in Settings > Modules > Geofence System

Usage

Creating Circular Geofences

  1. Navigate to Attendance > Geofences
  2. Click Create Geofence
  3. Select Circular type
  4. Set center point (click on map or enter coordinates)
  5. Define radius in meters
  6. Name and save the geofence

Creating Polygon Geofences

  1. Navigate to Attendance > Geofences
  2. Click Create Geofence
  3. Select Polygon type
  4. Click on map to define polygon vertices
  5. Close the polygon shape
  6. Name and save the geofence

Managing Geofences

  • View - See all geofences on an interactive map
  • Edit - Modify geofence boundaries and settings
  • Delete - Remove geofences no longer needed
  • Enable/Disable - Toggle geofences without deleting

Attendance Validation

When employees record attendance:

  1. Their GPS location is captured
  2. System checks if they are within any assigned geofence
  3. Attendance is validated or rejected based on location
  4. Administrators can view validation results

Configuring Alerts

  1. Go to Geofence > Alert Settings
  2. Enable entry/exit notifications
  3. Select notification recipients
  4. Configure alert frequency and quiet hours

Configuration Options

SettingDescriptionDefault
Default RadiusDefault radius for new circular geofences100 meters
GPS AccuracyMinimum GPS accuracy required50 meters
Location CacheCache location data duration5 minutes
Entry AlertNotify when entering geofenceYes
Exit AlertNotify when exiting geofenceNo

Geofence Types Comparison

FeatureCircularPolygon
Setup ComplexitySimpleModerate
Best ForRound areas, buildingsIrregular boundaries
PerformanceFasterSlightly slower
PrecisionGoodExcellent

Use Cases

  • Office Buildings - Circular geofence around office location
  • Construction Sites - Polygon geofence matching site boundaries
  • Campus - Multiple overlapping geofences for different buildings
  • Remote Locations - Large geofences for field work areas