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
- Purchase and download the Geofence System module
- Extract the module to
Modules/GeofenceSystem - Run the installation command:
php artisan module:enable GeofenceSystem
php artisan migrate
- Configure the module in Settings > Modules > Geofence System
Usage
Creating Circular Geofences
- Navigate to Attendance > Geofences
- Click Create Geofence
- Select Circular type
- Set center point (click on map or enter coordinates)
- Define radius in meters
- Name and save the geofence
Creating Polygon Geofences
- Navigate to Attendance > Geofences
- Click Create Geofence
- Select Polygon type
- Click on map to define polygon vertices
- Close the polygon shape
- 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:
- Their GPS location is captured
- System checks if they are within any assigned geofence
- Attendance is validated or rejected based on location
- Administrators can view validation results
Configuring Alerts
- Go to Geofence > Alert Settings
- Enable entry/exit notifications
- Select notification recipients
- Configure alert frequency and quiet hours
Configuration Options
| Setting | Description | Default |
|---|---|---|
| Default Radius | Default radius for new circular geofences | 100 meters |
| GPS Accuracy | Minimum GPS accuracy required | 50 meters |
| Location Cache | Cache location data duration | 5 minutes |
| Entry Alert | Notify when entering geofence | Yes |
| Exit Alert | Notify when exiting geofence | No |
Geofence Types Comparison
| Feature | Circular | Polygon |
|---|---|---|
| Setup Complexity | Simple | Moderate |
| Best For | Round areas, buildings | Irregular boundaries |
| Performance | Faster | Slightly slower |
| Precision | Good | Excellent |
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
Related Modules
- Site Attendance - Site-based attendance management
- IP Address Attendance - Network-based attendance validation
- Offline Tracking - Location tracking when offline