How ihsannulf/wildlife-hazard-management-logbook-system-angkasapura works
WHMS is an airport wildlife-hazard logbook for field observations, operational review, risk analysis, and formal reporting. The principal workflow is a field employee submitting a spatially located wildlife report, followed by admin validation and use of the accumulated records in dashboards, statistics, and exports. Separate capabilities include dynamic form and master-data management, AI species identification and birdstrike prediction, and weather snapshots. The graph follows shown imports/calls and README-described features; some route wiring and unsampled implementations are not shown, so those links are omitted or documented only where supported.
Main entry points: LaporanController.php Submit report · Laporan.php Observation records · DashboardController.php Review dashboard · ReportController.php Report exports
Components 23
Field reporting
- Submit report
app/Http/Controllers/LaporanController.php - Observation records
app/Models/Laporan.php - Wildlife details
app/Models/DetailSatwa.php
Operational management
- Dynamic form fields
app/Models/FormField.php - Authentication
app/Http/Controllers/AuthController.php - Role access
app/Http/Middleware/RoleMiddleware.php - Review dashboard
app/Http/Controllers/Admin/DashboardController.php - Species catalog
app/Models/JenisSatwa.php
Risk and analytics
- Wildlife statistics
app/Services/Statistics/BirdStatisticsService.php - Spatial analysis
app/Http/Controllers/Admin/StatistikController.php - Grid risk scoring
app/Services/Risk/GridRiskService.php - ICAO risk assessment
app/Services/IcaoRiskMatrixService.php
AI and weather
- Species identification
app/Http/Controllers/AiIdentifikasiController.php - AI services
app/Services/Ai/GeminiApiService.php - Weather snapshots
app/Services/Weather/WeatherSnapshotService.php - Weather provider
app/Services/Weather/OpenMeteoProvider.php
Reporting outputs
- Report exports
app/Http/Controllers/Admin/ReportController.php - Formal PDF
app/Services/BeritaAcaraPdfService.php - Monthly logbook
app/Services/MonthlyLogbookPdfService.php - Spreadsheet export
app/Services/XlsxExportService.php
Other components
- Field employee
- Admin
- Gemini API
Connections 26
- Field employee → Submit report: submits report
README.md - Submit report → Observation records: creates records
app/Http/Controllers/LaporanController.php - Submit report → Wildlife details: stores sightings
app/Http/Controllers/LaporanController.php - Submit report → Dynamic form fields: loads form fields
app/Http/Controllers/LaporanController.php - Submit report → Species catalog: loads species
app/Http/Controllers/LaporanController.php - Admin → Authentication: signs in
README.md - Authentication → Role access: role controls
- Admin → Review dashboard: reviews reports
README.md - Review dashboard → Observation records: reads reports
app/Http/Controllers/Admin/DashboardController.php - Review dashboard → Wildlife statistics: requests metrics
app/Http/Controllers/Admin/DashboardController.php - Review dashboard → Dynamic form fields: loads field config
app/Http/Controllers/Admin/DashboardController.php - Spatial analysis → Grid risk scoring: computes zones
app/Http/Controllers/Admin/StatistikController.php - Spatial analysis → Wildlife statistics: requests analysis
app/Services/Statistics/BirdStatisticsService.php - Wildlife statistics → Wildlife details: reads sightings
app/Services/Statistics/BirdStatisticsService.php - Grid risk scoring → Wildlife details: reads observations
app/Services/Risk/GridRiskService.php - Submit report → ICAO risk assessment: assesses hazard
app/Http/Controllers/LaporanController.php - Species identification → AI services: requests identification
app/Http/Controllers/AiIdentifikasiController.php - AI services → Gemini API: calls model
app/Services/Ai/GeminiApiService.php - AI services → Species catalog: matches taxonomy
app/Services/Ai/GeminiApiService.php - Weather snapshots → Weather provider: gets weather
- Report exports → Formal PDF: builds formal PDF
app/Http/Controllers/Admin/ReportController.php - Report exports → Monthly logbook: builds monthly bundle
app/Http/Controllers/Admin/ReportController.php - Report exports → Spreadsheet export: exports spreadsheet
app/Http/Controllers/Admin/ReportController.php - Formal PDF → Observation records: reads reports
app/Services/BeritaAcaraPdfService.php - Monthly logbook → Observation records: reads reports
app/Services/MonthlyLogbookPdfService.php - Spreadsheet export → Observation records: reads reports
app/Services/XlsxExportService.php