How maicolddox/airhub-senasoft works
AirHub is a Laravel flight-management and booking application. The main customer journey is to browse available flights, reserve capacity, enter passenger details, assign seats, pay, and view a ticket. Administrators manage flight availability and related flight data; the README also describes a dashboard, booking history, and support. The graph follows controller calls shown in excerpts and route references in the source index. Several documented screens and integrations are unsampled, so their links are limited to documented or explicitly unverified relationships.
Main entry points: web.php Web routes · PayController.php Payment · PositionController.php Seat selection · FlightController.php Flight search
Components 16
Customer booking
- Web routes
routes/web.php - Flight search
app/Http/Controllers/FlightController.php - Passenger details
app/Http/Controllers/UserPassengerController.php - Seat selection
app/Http/Controllers/PositionController.php - Payment
app/Http/Controllers/PayController.php - Flight catalog UI
resources/views/livewire/view/client/flights
Flight operations
- Flight administration
app/Http/Controllers/FlightController.php - Admin dashboard
resources/views/livewire/view/admin - Flight data
Booking records
- Tickets
app/Http/Controllers/TicketController.php - Ticket PDF
app/Http/Controllers/PdfController.php - Booking records
Accounts and support
- User accounts
app/Models/User.php - Chat support
app/Http/Controllers/ChatIAController.php - Support screen
resources/views/chat/ia.blade.php
Other components
- Customer
Connections 24
- Customer → Web routes: uses
routes/web.php - Web routes → Flight search: routes to
routes/web.php - Web routes → Passenger details: routes to
routes/web.php - Web routes → Seat selection: routes to
routes/web.php - Web routes → Payment: routes to
routes/web.php - Web routes → Tickets: routes to
routes/web.php - Flight search → Flight data: queries flights
app/Http/Controllers/FlightController.php - Flight search → Flight catalog UI: renders
app/Http/Controllers/FlightController.php - Flight administration → Flight data: updates flights
app/Http/Controllers/FlightController.php - Passenger details → Booking records: creates passengers
app/Http/Controllers/UserPassengerController.php - Passenger details → Seat selection: redirects to
app/Http/Controllers/UserPassengerController.php - Seat selection → Booking records: saves seats
app/Http/Controllers/PositionController.php - Seat selection → Payment: redirects to
app/Http/Controllers/PositionController.php - Payment → Booking records: creates payment
app/Http/Controllers/PayController.php - Payment → Tickets: creates ticket
app/Http/Controllers/PayController.php - Payment → Web routes: redirects to
app/Http/Controllers/PayController.php - Tickets → Booking records: reads tickets
app/Http/Controllers/TicketController.php - Ticket PDF → Booking records: reads ticket
app/Http/Controllers/PdfController.php - Customer → Admin dashboard: administers flights
README.md - Admin dashboard → Flight administration: manages
- Customer → Support screen: requests support
README.md - Support screen → Chat support: submits chat
- Chat support → Booking records: reads tickets
app/Http/Controllers/ChatIAController.php - Customer → User accounts: uses account
README.md