How joeryl69-rgb/raniag works
RANIAG is an incident and disaster-response coordination application for public reporters, administrators, agencies, and field personnel. The main workflow is report submission, triage and assignment, field response and evidence capture, resolution, and public tracking; the app also supports hazard and evacuation mapping, notifications, and operational reporting. This map reflects the provided tree and excerpts; unsampled routes and services are represented only where their product role is clear, and uncertain wiring is left unasserted.
Main entry points: Incident.php Incident records · IncidentReportController.php Incident reporting · Admin/IncidentController.php Admin operations · Agency/IncidentController.php Agency workspace
Components 24
Public Intake
- Public portal
app/Http/Controllers/Public/HomeController.php - Incident reporting
app/Http/Controllers/Public/IncidentReportController.php - Incident tracking
app/Http/Controllers/Public/IncidentTrackController.php - Public feedback
app/Http/Controllers/Public/FeedbackController.php
Incident Operations
- Incident records
app/Models/Incident.php - Admin operations
app/Http/Controllers/Admin/IncidentController.php - Dispatch assignment
app/Services/AssignmentService.php - Agency workspace
app/Http/Controllers/Agency/IncidentController.php - Document requests
app/Services/DocumentRequestService.php - Incident queries
app/Repositories/IncidentRepository.php
Field Response
- Personnel workspace
app/Http/Controllers/Personnel/IncidentController.php - Field updates
app/Http/Controllers/Shared/ResponderFieldController.php - Evidence handling
app/Services/EvidenceService.php - Resolution workflow
app/Services/ResolutionService.php
Maps & Reporting
- Hazard mapping
app/Http/Controllers/Public/HazardMapController.php - Geofence analysis
app/Services/GeofenceService.php - Evacuation centers
app/Models/EvacuationCenter.php - Operational reports
app/Http/Controllers/Admin/ReportController.php - Report records
app/Http/Controllers/Admin/ReportRecordController.php
Identity & Messaging
- Authentication
app/Http/Controllers/Auth/AuthenticatedSessionController.php - User accounts
app/Models/User.php - Notifications
app/Services/NotificationService.php
Other components
- Public users
- SMS gateway
Connections 25
- Public users → Public portal: visits
- Public portal → Incident reporting: opens reporting
- Public users → Incident reporting: files report
- Incident reporting → Incident records: creates report
- Incident records → Incident tracking: tracked by
- Public users → Incident tracking: checks status
- Public users → Public feedback: sends feedback
- Admin operations → Incident records: manages
- Admin operations → Dispatch assignment: dispatches
- Dispatch assignment → Incident records: assigns
- Agency workspace → Incident records: handles cases
- Agency workspace → Document requests: requests documents
- Personnel workspace → Incident queries: queries cases
app/Http/Controllers/Personnel/IncidentController.php - Incident queries → Incident records: loads records
app/Repositories/IncidentRepository.php - Personnel workspace → Field updates: updates field status
- Field updates → Incident records: updates response
app/Http/Controllers/Shared/ResponderFieldController.php - Incident records → Evidence handling: has evidence
app/Models/Incident.php - Incident records → Resolution workflow: has resolutions
app/Models/Incident.php - Hazard mapping → Geofence analysis: checks geometry
app/Http/Controllers/Public/HazardMapController.php - Hazard mapping → Evacuation centers: lists centers
app/Http/Controllers/Public/HazardMapController.php - Operational reports → Incident records: summarizes
app/Http/Controllers/Admin/ReportController.php - Report records → Incident records: reports on
app/Http/Controllers/Admin/ReportRecordController.php - Authentication → User accounts: authenticates
app/Http/Controllers/Auth/AuthenticatedSessionController.php - Incident records → Notifications: notifies on events
app/Services/NotificationService.php - Notifications → SMS gateway: sends SMS
app/Services/NotificationService.php