How hebaayman77177/hotel-managment-system works
This appears to be a Laravel hotel-management application covering role-based registration, client approval, room/floor management, reservations, receptionist workflows, and payments. The principal visible workflow is client registration followed by receptionist approval and reservation-related handling; room and payment functionality are also represented by controllers and models. Several controller implementations and route declarations were not sampled, so their connections are shown only as unverified dashed relationships or omitted. The README describes Laravel, not this application’s own capabilities.
Main entry points: Room.php Room records · RegisterController.php Registration · ReceptionistController.php Reception desk · Reservation.php Reservation records
Components 20
Accounts & Roles
- Registration
app/Http/Controllers/Auth/RegisterController.php - Login
app/Http/Controllers/Auth/LoginController.php - Administration
app/Http/Controllers/AdminController.php - Client account
app/Models/Client.php - Employee account
app/Models/Employee.php - Admin account
app/Models/Admin.php
Hotel Operations
- Reception desk
app/Http/Controllers/ReceptionistController.php - Manager tools
app/Http/Controllers/MangeManager.php - Floor management
app/Http/Controllers/manager/floormanagecontroller.php - Room management
app/Http/Controllers/manager/roommanagecontroller.php - Floor records
app/Models/Floor.php - Room records
app/Models/Room.php
Reservations & Billing
- Reservation handling
app/Http/Controllers/ReservationController.php - Reservation records
app/Models/Reservation.php - Payment handling
app/Http/Controllers/PaymentController.php
Views & Tables
- Client data table
app/DataTables/ClientTable.php - Admin interface
resources/views/admin/app.blade.php - Client interface
resources/views/clients/app.blade.php - Reception interface
resources/views/receptionist/app.blade.php
Other components
- Guest / Staff
Connections 21
- Guest / Staff → Registration: submits registration
- Guest / Staff → Login: attempts login
- Registration → Client account: creates client
app/Http/Controllers/Auth/RegisterController.php - Registration → Employee account: creates employee
app/Http/Controllers/Auth/RegisterController.php - Registration → Admin account: creates admin
app/Http/Controllers/Auth/RegisterController.php - Reception desk → Client account: approves client
app/Http/Controllers/ReceptionistController.php - Reception desk → Client data table: uses table
app/Http/Controllers/ReceptionistController.php - Reception desk → Room records: queries rooms
app/Http/Controllers/ReceptionistController.php - Client account → Reservation records: has reservations
app/Models/Client.php - Employee account → Floor records: has floors
app/Models/Employee.php - Employee account → Room records: has rooms
app/Models/Employee.php - Room records → Floor records: belongs to floor
app/Models/Room.php - Room records → Reservation records: has reservations
app/Models/Room.php - Guest / Staff → Reception desk: uses reception
- Manager tools → Floor management: delegates floor work
- Manager tools → Room management: delegates room work
- Guest / Staff → Reservation handling: requests reservation
- Reservation handling → Reservation records: manages records
- Reservation handling → Room records: checks availability
- Guest / Staff → Payment handling: initiates payment
- Payment handling → Reservation records: bills reservation